-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a maintenance pre-release for GixSQL. It fixes a few issues and adds two new databases drivers (Oracle and SQLite). The next "standard" release (presumably v1.0.18) will have feature parity for all database drivers. - Added new Oracle driver, based on ODPI - Added new SQLite driver - Solution for "PG: issue with prepared statements" (#99) - Solution for "PCursors cannot be re-opened after close" (#98) - Solution for "libgixpp: setStatus is called for errors without DBI parm passed - sets SQLERRM" (#94) - Solution for "error handling (especially for 07001)" (#92) - Solution for "show-stopper bug in pgsql_prepare" (#91) - Solution for "PREPARE does not work with VARLENGTH groups (ocesql compat)" (#79) - Partial solution for "PREPARE does not work with VARLENGTH groups (ocesql compat)" (#68) - Solution for "The PostgreSQL driver needs START TRANSACTION before using cursors" (#14) - Solution for "FR: support EXEC SQL VAR" (#21) - Fixed a bug in "problems with "codegen / logic issue for "GIXSQLCursorDeclareParams" (#88) - Fixed COMP-3 handling in drivers other than PostgreSQL - Rewrote the test suite (still MSTest-based) to dynamically generate a matrix of test to be run on the various platforms/database drivers
- Loading branch information
Showing
184 changed files
with
290,272 additions
and
4,295 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ libgixpp/location.hh | |
**/Makefile.in | ||
aclocal.m4 | ||
configure | ||
config.status | ||
config.status | ||
config.h |
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([gixsql], [1.0.16dev2], [[email protected]]) | ||
AC_INIT([gixsql], [1.0.18dev2], [[email protected]]) | ||
AC_CONFIG_SRCDIR([config.h.in]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AM_INIT_AUTOMAKE([1.9.6 -Wall -Werror dist-bzip2]) | ||
AM_INIT_AUTOMAKE([1.9.6 -Wall -Werror dist-bzip2 subdir-objects]) | ||
|
||
# Checks for programs. | ||
AC_PROG_CXX | ||
|
@@ -79,9 +79,15 @@ AC_ARG_ENABLE([odbc], | |
|
||
AC_ARG_ENABLE([pgsql], | ||
[AS_HELP_STRING([--enable-pgsql], [Enable PostgreSQL support @<:@yes@:>@])]) | ||
|
||
AC_ARG_ENABLE([oracle], | ||
[AS_HELP_STRING([--enable-oracle], [Enable Oracle support @<:@yes@:>@])]) | ||
|
||
AC_ARG_ENABLE([pgsql], | ||
[AS_HELP_STRING([--enable-sqlite], [Enable SQLite support @<:@yes@:>@])]) | ||
|
||
AC_ARG_WITH([default-driver], | ||
[AS_HELP_STRING([--with-default-driver[=none|odbc|mysql|pgsql]], | ||
[AS_HELP_STRING([--with-default-driver[=none|odbc|mysql|pgsql!oracle|sqlite]], | ||
[set DBMS default-driver])], | ||
[], | ||
[with_default_driver=none]) | ||
|
@@ -118,19 +124,28 @@ AS_IF([test "$enable_pgsql" != "no"], | |
[AC_MSG_ERROR([libpq required, but not found.])], | ||
[enable_pgsql=no])])]) | ||
|
||
# No client packages are needed for Oracle and SQLite, | ||
# since they include their own client libraries | ||
|
||
AS_IF([test "$enable_oracle" != "no"], [enable_oracle=yes], [enable_oracle=no]) | ||
|
||
AS_IF([test "$enable_sqlite" != "no"], [enable_sqlite=yes], [enable_sqlite=no]) | ||
|
||
|
||
# Check if the driver ID is valid | ||
AS_IF([test "$with_default_driver" == "none" || test "$with_default_driver" == "odbc" || test "$with_default_driver" == "mysql" || test "$with_default_driver" == "pgsql" ], | ||
AS_IF([test "$with_default_driver" == "none" || test "$with_default_driver" == "odbc" || test "$with_default_driver" == "mysql" || test "$with_default_driver" == "pgsql" ] || test "$with_default_driver" == "oracle" ] || test "$with_default_driver" == "sqlite" ], | ||
[], | ||
[AC_MSG_ERROR([invalid DBMS driver id \"${with_default_driver}\".])] | ||
) | ||
|
||
|
||
num_drivers=0 | ||
cur_driver= | ||
AS_IF([test "$enable_odbc" = "yes"], [ ((num_drivers++)) ; cur_driver=odbc ]) | ||
AS_IF([test "$enable_mysql" = "yes"], [ ((num_drivers++)) ; cur_driver=mysql ]) | ||
AS_IF([test "$enable_pgsql" = "yes"], [ ((num_drivers++)) ; cur_driver=pgsql ]) | ||
AS_IF([test "$enable_odbc" = "yes"], [ ((num_drivers++)) ; cur_driver=odbc ]) | ||
AS_IF([test "$enable_mysql" = "yes"], [ ((num_drivers++)) ; cur_driver=mysql ]) | ||
AS_IF([test "$enable_pgsql" = "yes"], [ ((num_drivers++)) ; cur_driver=pgsql ]) | ||
AS_IF([test "$enable_oracle" = "yes"], [ ((num_drivers++)) ; cur_driver=oracle ]) | ||
AS_IF([test "$enable_sqlite" = "yes"], [ ((num_drivers++)) ; cur_driver=sqlite ]) | ||
|
||
AS_IF([test "$num_drivers" = "0" ], [ AC_MSG_ERROR([At least one DBMS driver must be enabled]) ]) | ||
|
||
|
@@ -165,9 +180,11 @@ AS_IF([test x$with_default_driver != xnone ], | |
) | ||
|
||
|
||
AM_CONDITIONAL([ENABLE_MYSQL], [test "$enable_mysql" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_ODBC], [test "$enable_odbc" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_PGSQL], [test "$enable_pgsql" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_MYSQL], [test "$enable_mysql" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_ODBC], [test "$enable_odbc" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_PGSQL], [test "$enable_pgsql" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_ORACLE], [test "$enable_oracle" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_SQLITE], [test "$enable_sqlite" = "yes"]) | ||
|
||
|
||
# Checks for library functions. | ||
|
@@ -183,6 +200,8 @@ AC_CONFIG_FILES([Makefile | |
runtime/libgixsql-mysql/Makefile | ||
runtime/libgixsql-odbc/Makefile | ||
runtime/libgixsql-pgsql/Makefile | ||
runtime/libgixsql-oracle/Makefile | ||
runtime/libgixsql-sqlite/Makefile | ||
]) | ||
AC_OUTPUT | ||
|
||
|
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
Oops, something went wrong.