Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 24, 2012
@UnwashedMeme Revert "If running on a threaded lisp try loading libmysqlclient_r"
This reverts commit 7127589.

While I think this might be right, I've not gotten a chance to test
this at all. Aside from that, on my system (ubuntu 12.04 x86_64) both
versions symlink to the same shared object.
1ec3749
@UnwashedMeme Mysql > CREATE TABLE: use 'engine' keyword instead of 'type'. 49b3604
Showing with 9 additions and 14 deletions.
  1. +7 −7 ChangeLog
  2. +1 −6 db-mysql/mysql-loader.lisp
  3. +1 −1  sql/expressions.lisp
View
14 ChangeLog
@@ -1,3 +1,10 @@
+2012-04-24 Nathan Bird <nathan@acceleration.net>
+
+ * sql/expressions.lisp (output-sql): on mysql CREATE TABLE
+ statements use 'ENGINE=innodb' instead of 'Type=InnoDB'. This has
+ apparently been preferred since mysql 4.1 and mysql 5.5 removed
+ type as a valid keyword.
+
2012-03-28 Russ Tyndall <russ@acceleration.net>
* sql/sequences.lisp: [A Patch FROM 2011-07-28 changed sequences.
@@ -23,13 +30,6 @@
ODBC connection specs, and added example code connecting to ODBC
databases.
-2012-02-22 Nathan Bird <nathan@acceleration.net>
-
- * db-mysql/mysql-loader.lisp (*mysql-library-candidate-names*): If
- running on a threaded lisp try loading libmysqlclient_r (the
- threaded build) first. from
- http://dev.mysql.com/doc/refman/5.1/en/threaded-clients.html
-
2012-01-05 Nathan Bird <nathan@acceleration.net>
* db-odbc/odbc-dbi.lisp: handle sql decimal type in the same way
View
7 db-mysql/mysql-loader.lisp
@@ -22,12 +22,7 @@
"clsql_mysql"))
(defvar *mysql-library-candidate-names*
- '(
- #+(or allegro cmu lispworks openmcl sb-thread scl) "libmysqlclient_r"
- "libmysqlclient"
- "libmysql"))
-
-
+ '("libmysqlclient" "libmysql"))
(defvar *mysql-supporting-libraries* '("c")
"Used only by CMU. List of library flags needed to be passed to ld to
View
2  sql/expressions.lisp
@@ -939,7 +939,7 @@ uninclusive, and the args from that keyword to the end."
(when (and (eq :mysql (database-underlying-type database))
transactions
(db-type-transaction-capable? :mysql database))
- (write-string " Type=InnoDB" *sql-stream*))))
+ (write-string " ENGINE=innodb" *sql-stream*))))
t)

No commit comments for this range

Something went wrong with that request. Please try again.