summaryrefslogtreecommitdiff
path: root/sql/sql_partition.cc
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2008-07-14 19:43:12 -0600
committerMarc Alff <marc.alff@sun.com>2008-07-14 19:43:12 -0600
commitf34c99b4d8b60e6ae5cddde206ef4da30811e5fe (patch)
tree302ecb26a02762cc90a264a5d6a12c76a15939fd /sql/sql_partition.cc
parenta3619d2e865eb5705a8acfc10db91ae700bb7043 (diff)
parent5f9f35e291eba2e6b8fbdc7e763c14c370c676ec (diff)
downloadmariadb-git-f34c99b4d8b60e6ae5cddde206ef4da30811e5fe.tar.gz
Bug#35577, manual merge mysql-5.0-bugteam -> mysql-5.1-bugteam
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r--sql/sql_partition.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index 037da87be7f..121ee3c22b4 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -3767,7 +3767,7 @@ bool mysql_unpack_partition(THD *thd,
thd->lex= &lex;
thd->variables.character_set_client= system_charset_info;
- Lex_input_stream lip(thd, part_buf, part_info_len);
+ Parser_state parser_state(thd, part_buf, part_info_len);
lex_start(thd);
*work_part_info_used= false;
@@ -3797,7 +3797,7 @@ bool mysql_unpack_partition(THD *thd,
lex.part_info->part_state= part_state;
lex.part_info->part_state_len= part_state_len;
DBUG_PRINT("info", ("Parse: %s", part_buf));
- if (parse_sql(thd, &lip, NULL))
+ if (parse_sql(thd, & parser_state, NULL))
{
thd->free_items();
goto end;