summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-12-05 20:47:15 +0100
committerserg@serg.mylan <>2005-12-05 20:47:15 +0100
commite5e22395c915597a9cf65c8dbac13184095f5a89 (patch)
treec23a040e68aefa2a295652a68f5ccabb8c5ace9e /include/mysql.h
parent6b5320d617f56d294e0c521fdaa13a54b564404c (diff)
downloadmariadb-git-e5e22395c915597a9cf65c8dbac13184095f5a89.tar.gz
compatibility define for Bug#15293
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index c4b4e026e5b..f3244d4ba36 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -117,6 +117,9 @@ typedef unsigned long long my_ulonglong;
#define MYSQL_COUNT_ERROR (~(my_ulonglong) 0)
+/* backward compatibility define - to be removed eventually */
+#define ER_WARN_DATA_TRUNCATED WARN_DATA_TRUNCATED
+
typedef struct st_mysql_rows {
struct st_mysql_rows *next; /* list of rows */
MYSQL_ROW data;