~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to lib/proxy/commands.lua

  • Committer: michael.schuster at oracle
  • Date: 2010-09-13 11:48:50 UTC
  • Revision ID: michael.schuster@oracle.com-20100913114850-jx9y4lzz7plk9wol
remove double statement

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
                -- should have a table-name
108
108
                return ("[%s]"):format(cmd.type_name)
109
109
        elseif cmd.type == proxy.COM_STMT_EXECUTE then
110
 
        return ("[%s] %s"):format(cmd.type_name, cmd.stmt_handler_id)
111
 
        elseif cmd.type == proxy.COM_STMT_EXECUTE then
112
110
                return ("[%s] %s"):format(cmd.type_name, cmd.stmt_handler_id)
113
111
        end
114
112