summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-12-05 20:47:15 +0100
committerunknown <serg@serg.mylan>2005-12-05 20:47:15 +0100
commitd7249025a0ed9e344c24cdd40e5dc2500ea33bd0 (patch)
treec23a040e68aefa2a295652a68f5ccabb8c5ace9e /include/mysql.h
parent3e1fed7b119fa8cac1ce65947f133272437a97eb (diff)
downloadmariadb-git-d7249025a0ed9e344c24cdd40e5dc2500ea33bd0.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;