summaryrefslogtreecommitdiffstats
path: root/connectivity/Library_postgresql-sdbc-impl.mk
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-06-27 12:56:40 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-06-27 14:37:13 +0200
commit6391e823dcb5dd87b0f7f3039144b8cccd8626c8 (patch)
tree3e497bf3ec4269e24c59848378b5305068703a47 /connectivity/Library_postgresql-sdbc-impl.mk
parentsolarcommonpath is dead (diff)
downloadcore-6391e823dcb5dd87b0f7f3039144b8cccd8626c8.tar.gz
core-6391e823dcb5dd87b0f7f3039144b8cccd8626c8.zip
Replace buggy pgsql-sdbc datetime functions with dbtools equivalents
In particular, the string2time function segfaults when called on an empty string (unconditionally tries to access the n-th character without checking whether the string is that long) this happens in particular when reading a column of type TIME with a NULL value Change-Id: I302044f67a92fe20685ce677ba3affdb9b44cb53
Diffstat (limited to 'connectivity/Library_postgresql-sdbc-impl.mk')
-rw-r--r--connectivity/Library_postgresql-sdbc-impl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/Library_postgresql-sdbc-impl.mk b/connectivity/Library_postgresql-sdbc-impl.mk
index 6cc9f39d9498..bdb96c5ad027 100644
--- a/connectivity/Library_postgresql-sdbc-impl.mk
+++ b/connectivity/Library_postgresql-sdbc-impl.mk
@@ -20,6 +20,7 @@ $(eval $(call gb_Library_use_sdk_api,postgresql-sdbc-impl))
$(eval $(call gb_Library_use_libraries,postgresql-sdbc-impl,\
cppu \
cppuhelper \
+ dbtools \
sal \
salhelper \
$(gb_UWINAPI) \