summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-10-20 02:55:03 +0300
committermonty@mishka.local <>2004-10-20 02:55:03 +0300
commit7af65592c7577dd5a3e98e7bcbbfea69034ba4b5 (patch)
tree40c316b93bfec146a18945a7cd7813bcc5a5a179 /libmysql
parent1ef4979e48e0c66c7b0fe1f469bcd87a432c4450 (diff)
parent04c23808a856bd8c4425d52419592d58d9bc5f35 (diff)
downloadmariadb-git-7af65592c7577dd5a3e98e7bcbbfea69034ba4b5.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mishka.local:/home/my/mysql-4.1
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c10
-rw-r--r--libmysql/libmysql.def1
2 files changed, 11 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index ef926e2f93d..deb09c856ec 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1516,6 +1516,16 @@ uint STDCALL mysql_thread_safe(void)
#endif
}
+
+my_bool STDCALL mysql_embedded(void)
+{
+#ifdef EMBEDDED_LIBRARY
+ return 1;
+#else
+ return 0;
+#endif
+}
+
/****************************************************************************
Some support functions
****************************************************************************/
diff --git a/libmysql/libmysql.def b/libmysql/libmysql.def
index 38ac9505e4b..bc91e90a41c 100644
--- a/libmysql/libmysql.def
+++ b/libmysql/libmysql.def
@@ -144,3 +144,4 @@ EXPORTS
mysql_rpl_probe
mysql_rpl_query_type
mysql_slave_query
+ mysql_embedded