summaryrefslogtreecommitdiff
path: root/libmysqld/libmysqld.def
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-09-29 09:55:53 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-09-29 09:55:53 -0300
commitaca9b35ffe6e00fbe872607eca64fe5eff6d2293 (patch)
tree9f27d633325188fc4fb5d168282898d3c8b9c795 /libmysqld/libmysqld.def
parent7f9656369f97803bb10a1111f60d60db295b82a4 (diff)
downloadmariadb-git-aca9b35ffe6e00fbe872607eca64fe5eff6d2293.tar.gz
Bug#41728: Dropped symbol but no soname change
Restore a stub of the removed mysql_odbc_escape_string function to fix a ABI breakage. The function was intended to be private and used only by Connector/ODBC, but, unfortunately, it was exported as part of the ABI. Nonetheless, only a stub is restored as the original function is inherently broken and shouldn't be used. This restoration only applies to MySQL 5.0. This will be addressed differently in later versions -- reworked library versioning. include/mysql.h: Restore mysql_odbc_escape_string prototype. include/mysql_h.ic: Update ABI check. libmysql/libmysql.c: Restore a mysql_odbc_escape_string stub. libmysql/libmysql.def: Restore mysql_odbc_escape_string. libmysqld/libmysqld.def: Restore mysql_odbc_escape_string.
Diffstat (limited to 'libmysqld/libmysqld.def')
-rw-r--r--libmysqld/libmysqld.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/libmysqld.def b/libmysqld/libmysqld.def
index 8aed164a30e..8829112fefd 100644
--- a/libmysqld/libmysqld.def
+++ b/libmysqld/libmysqld.def
@@ -71,6 +71,7 @@ EXPORTS
mysql_next_result
mysql_num_fields
mysql_num_rows
+ mysql_odbc_escape_string
mysql_options
mysql_ping
mysql_query