~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/Makefile.am

Beginnings of reworking the mysql_execute_command() method. 

Essentially, we want to remove the giant switch statement within that
function. This commit sets the groundwork for that. We added a new base
class named SqlCommand that every command we want to implement inherits
from. It has an execute method that commands can override. Thus, instead of
a large switch statement, we will just have command->execute().

Show diffs side-by-side

added added

removed removed

Lines of Context:
307
307
                sql_array.h \
308
308
                sql_base.h \
309
309
                sql_bitmap.h \
 
310
                sql_commands.h \
310
311
                sql_error.h \
311
312
                sql_lex.h \
312
313
                sql_list.h \
578
579
                show.cc \
579
580
                semi_join_table.cc \
580
581
                sql_base.cc \
 
582
                sql_commands.cc \
581
583
                sql_connect.cc \
582
584
                sql_delete.cc \
583
585
                sql_derived.cc \