diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2003-05-05 14:54:37 -0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2003-05-05 14:54:37 -0400 |
commit | b9121cdea38b75aabc5a29a769ee409c962f42e0 (patch) | |
tree | 5da77cfccce06cd1eaa12c4306dc0be2bbac9d15 /sql/filesort.cc | |
parent | 0e891786615356dbc9bca3c5132e259e92b89ad9 (diff) | |
download | mariadb-git-b9121cdea38b75aabc5a29a769ee409c962f42e0.tar.gz |
made lex a pointer in THD
Diffstat (limited to 'sql/filesort.cc')
-rw-r--r-- | sql/filesort.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc index ab645836b4b..155e4d17172 100644 --- a/sql/filesort.cc +++ b/sql/filesort.cc @@ -1110,7 +1110,7 @@ get_addon_fields(THD *thd, Field **ptabfield, uint sortlength, uint *plength) The fact is the filter 'field->query_id != thd->query_id' doesn't work for alter table */ - if (thd->lex.sql_command != SQLCOM_SELECT) + if (thd->lex->sql_command != SQLCOM_SELECT) return 0; for (pfield= ptabfield; (field= *pfield) ; pfield++) { |