Changeset: f458b130b6bf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f458b130b6bf
Modified Files:
        sql/odbc/samples/Tests/odbcsample1.SQL.sh
        sql/odbc/samples/Tests/testgetinfo.SQL.sh
Branch: Nov2019
Log Message:

Expand MAPIPORT for ODBC test.
I think it worked before because if the port value was 0 (which would
happen with a simple atoi call on the old value), then the driver
would use the environment variable MAPIPORT if it existed (which it
does during testing).


diffs (24 lines):

diff --git a/sql/odbc/samples/Tests/odbcsample1.SQL.sh 
b/sql/odbc/samples/Tests/odbcsample1.SQL.sh
--- a/sql/odbc/samples/Tests/odbcsample1.SQL.sh
+++ b/sql/odbc/samples/Tests/odbcsample1.SQL.sh
@@ -8,7 +8,7 @@ Description     = Test MonetDB Data Source
 Driver         = $LIBDIR/libMonetODBC.so
 Setup          = $LIBDIR/libMonetODBCs.so
 Host           = localhost
-Port           = MAPIPORT
+Port           = $MAPIPORT
 Database       = $TSTDB
 User           = monetdb
 Password       = monetdb
diff --git a/sql/odbc/samples/Tests/testgetinfo.SQL.sh 
b/sql/odbc/samples/Tests/testgetinfo.SQL.sh
--- a/sql/odbc/samples/Tests/testgetinfo.SQL.sh
+++ b/sql/odbc/samples/Tests/testgetinfo.SQL.sh
@@ -8,7 +8,7 @@ Description     = Test MonetDB Data Source
 Driver         = $LIBDIR/libMonetODBC.so
 Setup          = $LIBDIR/libMonetODBCs.so
 Host           = localhost
-Port           = MAPIPORT
+Port           = $MAPIPORT
 Database       = $TSTDB
 User           = monetdb
 Password       = monetdb
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to