# File lib/dbd/mysql/statement.rb, line 32 def execute sql = @prep_stmt.bind(@params) @mutex.synchronize { @handle.query_with_result = true @res_handle = @handle.query(sql) @column_info = self.column_info @current_row = 0 @rows = DBI::SQL.query?(sql) ? 0 : @handle.affected_rows } rescue MyError => err error(err) end