mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-21 09:00:59 +03:00
Make sure the colWidth array is correctly initialized in the ".explain"
command of the shell. FossilOrigin-Name: ceebcdcaf1acf409b77b4cc2903b4570001f098a
This commit is contained in:
@@ -2096,7 +2096,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){
|
||||
*/
|
||||
p->mode = MODE_Explain;
|
||||
p->showHeader = 1;
|
||||
memset(p->colWidth,0,ArraySize(p->colWidth));
|
||||
memset(p->colWidth,0,sizeof(p->colWidth));
|
||||
p->colWidth[0] = 4; /* addr */
|
||||
p->colWidth[1] = 13; /* opcode */
|
||||
p->colWidth[2] = 4; /* P1 */
|
||||
|
||||
Reference in New Issue
Block a user