qc_mysqlelmbedded: Handle SQLCOM_REPLACE_SELECT

This commit is contained in:
Johan Wikman 2017-01-17 10:28:50 +02:00
parent c59711d04c
commit a40692d81d

View File

@ -2526,7 +2526,8 @@ int32_t qc_mysql_get_field_info(GWBUF* buf, const QC_FIELD_INFO** infos, uint32_
if ((lex->sql_command == SQLCOM_INSERT) ||
(lex->sql_command == SQLCOM_INSERT_SELECT) ||
(lex->sql_command == SQLCOM_REPLACE))
(lex->sql_command == SQLCOM_REPLACE) ||
(lex->sql_command == SQLCOM_REPLACE_SELECT))
{
List_iterator<Item> ilist(lex->field_list);
while (Item *item = ilist++)