mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed a lot of warnings in processing of
Q_QUERY_VERTICAL/Q_QYERY_HORIZONTAL in client/mysqltest.c (changed switch to ?:) client/mysqltest.c: fixed a lot of warnings in processing of Q_QUERY_VERTICAL/Q_QYERY_HORIZONTAL (changed switch to ?:)
This commit is contained in:
@ -2602,11 +2602,7 @@ int main(int argc, char **argv)
|
||||
/* fix up query pointer if this is * first iteration for this line */
|
||||
if (q->query == q->query_buf)
|
||||
q->query += q->first_word_len + 1;
|
||||
switch(q->type)
|
||||
{
|
||||
case Q_QUERY_VERTICAL: display_result_vertically= TRUE; break;
|
||||
case Q_QUERY_HORIZONTAL: display_result_vertically= FALSE; break;
|
||||
}
|
||||
display_result_vertically= (q->type==Q_QUERY_VERTICAL);
|
||||
error |= run_query(&cur_con->mysql, q, QUERY_REAP|QUERY_SEND);
|
||||
display_result_vertically= old_display_result_vertically;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user