1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Post-merge fix.

This commit is contained in:
unknown
2007-06-04 03:03:15 -07:00
parent f4caa3025a
commit e65eb0e447
9 changed files with 155 additions and 127 deletions

View File

@ -710,7 +710,7 @@ static int mysql_register_view(THD *thd, TABLE_LIST *view,
view->query.length= str.length();
view->source.str= thd->query + thd->lex->create_view_select_start;
endp= view->source.str;
endp= skip_rear_comments(endp, thd->query + thd->query_length);
endp= skip_rear_comments(thd->charset(), endp, thd->query + thd->query_length);
view->source.length= endp - view->source.str;
view->file_version= 1;
view->calc_md5(md5);