summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-11-03 22:18:16 +0200
committermonty@narttu.mysql.fi <>2003-11-03 22:18:16 +0200
commit085b1c56084d99646f2e52aee42ef026b7526eeb (patch)
treebe6bcd245a68a5208eee29c19d13ff3f8c00aac8
parenta444a3449f87ad4c8060fe5769c0bae7a1b64eaf (diff)
downloadmariadb-git-085b1c56084d99646f2e52aee42ef026b7526eeb.tar.gz
Some simple things missing for last changeset
-rw-r--r--.bzrignore1
-rw-r--r--mysql-test/t/overflow.test2
-rw-r--r--sql/unireg.h4
3 files changed, 6 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore
index 27f32040bc8..521965cd6cd 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -638,3 +638,4 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
+libmysqld/strfunc.cc
diff --git a/mysql-test/t/overflow.test b/mysql-test/t/overflow.test
index 6619a87cabb..7a9616fd24e 100644
--- a/mysql-test/t/overflow.test
+++ b/mysql-test/t/overflow.test
@@ -1,4 +1,4 @@
connect (con1,localhost,boo,,);
connection con1;
--- error 1064,1102
+-- error 1064,1102,1279
drop database AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA;
diff --git a/sql/unireg.h b/sql/unireg.h
index ef6a2f44ea7..66a274f3863 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -63,6 +63,10 @@
/* Max column width +1 */
#define MAX_FIELD_WIDTH (MAX_FIELD_CHARLENGTH*MAX_MBWIDTH+1)
+#define MAX_DATE_WIDTH 10 /* YYYY-MM-DD */
+#define MAX_TIME_WIDTH 23 /* -DDDDDD HH:MM:SS.###### */
+#define MAX_DATETIME_FULL_WIDTH 29 /* YYYY-MM-DD HH:MM:SS.###### AM */
+#define MAX_DATETIME_WIDTH 19 /* YYYY-MM-DD HH:MM:SS */
#define MAX_TABLES (sizeof(table_map)*8-2) /* Max tables in join */
#define OUTER_REF_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-2))