Code

frontend: Added missing 'break' in switch statement.
authorSebastian Harl <sh@tokkee.org>
Sun, 12 Jan 2014 21:32:37 +0000 (22:32 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 12 Jan 2014 21:32:37 +0000 (22:32 +0100)
This bug caused a LIST command to be executed after each QUERY.

D'oh!

src/frontend/connection.c

index 5ed49ddebfeb0584a69b55ac06fb06c7a1d5801e..f780979cac6ed333104d26f15bf2c8829184fb24 100644 (file)
@@ -219,6 +219,7 @@ command_handle(sdb_conn_t *conn)
                                status = sdb_fe_exec(conn, node);
 
                        sdb_llist_destroy(parsetree);
+                       break;
                }
 
                case CONNECTION_LIST: