forked from links-lang/links
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore MySQL driver and fix ordering problem (links-lang#858)
add -linkall flag which makes mysql plugin happy make the database tests deterministic fix inconsistent ordering behavior add configs for other drivers cleanup fix of ordering implement insert returning correctly for mysql, sqlite3 add efficient polymorphic append-only buffers avoid need for extra list reverse in sqlite3 add test that large database results can be obtained (constructing lists whose length > OCaml's stack bound) fix performance bug in mysql driver add test for null integer handling
- Loading branch information
1 parent
a370aef
commit a43051b
Showing
30 changed files
with
259 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
database/mysql-driver/jbuild.unsupported → database/mysql-driver/dune
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
(jbuild_version 1) | ||
|
||
(library | ||
((name links_mysql) | ||
(name links_mysql) | ||
(public_name links-mysql) | ||
(synopsis "MySQL database backend for Links") | ||
(wrapped false) | ||
(optional) | ||
(flags (:standard -safe-string -dtypes -w Ae-44-45-60 -g -cclib -lunix -thread)) | ||
(libraries (mysql links)))) | ||
(libraries mysql links.core)) | ||
|
||
|
||
(install | ||
((section share) | ||
(files (links_mysql_dependencies.json)) | ||
(package links-mysql))) | ||
(section share) | ||
(files links_mysql_dependencies.json) | ||
(package links-mysql)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
database_args=localhost:5432:links:links | ||
database_driver=postgresql | ||
relax_query_type_constraint=on | ||
shredding=on | ||
relational_lenses=on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
database_args=localhost:5432::links | ||
database_driver=postgresql | ||
relax_query_type_constraint=on | ||
shredding=on | ||
relational_lenses=on |
Oops, something went wrong.