summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-10-05 17:22:30 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-10-05 17:22:30 +0300
commit349f5699f18b1a8212c2fe33a7a2cea7f56a5460 (patch)
tree7a845be16bd3945081f739a54b2111e01a2250c2
parent1744b54082dd8a18a58e5317745aa3aa4d3999b8 (diff)
downloadmariadb-git-349f5699f18b1a8212c2fe33a7a2cea7f56a5460.tar.gz
WL#1054: fixed a compilation warning
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index ff0422a517f..d91489b4a7a 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -41,7 +41,7 @@ sys_var *trg_new_row_fake_var= (sys_var*) 0x01;
LEX_STRING constant for null-string to be used in parser and other places.
*/
const LEX_STRING null_lex_str= {NULL, 0};
-const LEX_STRING empty_lex_str= {"", 0};
+const LEX_STRING empty_lex_str= {(char *) "", 0};
/**
@note The order of the elements of this array must correspond to
the order of elements in enum_binlog_stmt_unsafe.