Change tests to use enum values instead of error numbers
Bug #624974 reported by
Lee Bieber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Unassigned | ||
Dexter |
Fix Released
|
Medium
|
Unassigned |
Bug Description
As the first step to remove unused error message, we are first going through and change all the tests to use enum values instead of error numbers
Related branches
lp:~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum
- Drizzle Merge Team: Pending requested
-
Diff: 7208 lines (+1234/-1221)153 files modifiedclient/errname.cc (+21/-1)
plugin/archive/tests/t/archive.test (+4/-4)
plugin/archive/tests/t/archive_aio_posix.test (+4/-4)
plugin/archive/tests/t/archive_discover.test (+1/-1)
plugin/blackhole/tests/t/blackhole.test (+2/-2)
plugin/blackhole/tests/t/create_max_fields.test (+1/-1)
plugin/blitzdb/tests/t/blitzdb-alter.test (+2/-2)
plugin/blitzdb/tests/t/blitzdb-basic.test (+11/-11)
plugin/blitzdb/tests/t/blitzdb-decimal.test (+6/-6)
plugin/blitzdb/tests/t/blitzdb-index.test (+29/-29)
plugin/csv/tests/t/csv.test (+4/-4)
plugin/csv/tests/t/csv_not_null.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/alter_column_drop_default.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/alter_table.test (+3/-3)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/auto_increment.test (+5/-5)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_create_nullable.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_create_table.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_drop_table.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_insert_pkey_duplicate.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_statement_rollback.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/comments.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_format.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/index_length_limit.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/index_prefix.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/rename.test (+4/-4)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/truncate.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_blob.test (+3/-3)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_date.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_datetime.test (+24/-24)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_decimal.test (+78/-78)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_enum.test (+10/-10)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_float.test (+8/-8)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_timestamp.test (+7/-7)
plugin/filesystem_engine/tests/t/basic_create_table.test (+4/-4)
plugin/myisam/tests/t/myisam.test (+6/-6)
plugin/pbxt/tests/t/basic_create_nullable.test (+2/-2)
plugin/pbxt/tests/t/basic_create_table.test (+1/-1)
plugin/pbxt/tests/t/basic_drop_table.test (+1/-1)
plugin/pbxt/tests/t/basic_insert_pkey_duplicate.test (+1/-1)
plugin/pbxt/tests/t/basic_statement_rollback.test (+1/-1)
plugin/rand_function/tests/t/basic.test (+1/-1)
plugin/schema_dictionary/tests/t/no_default.test (+1/-1)
plugin/show_schema_proto/tests/t/basic.test (+1/-1)
plugin/sleep/tests/t/sleep.test (+2/-2)
plugin/tableprototester/tests/t/drop_table.test (+1/-1)
plugin/tableprototester/tests/t/invalid_table_collation.test (+1/-1)
plugin/tableprototester/tests/t/missing_engine.test (+1/-1)
plugin/tableprototester/tests/t/too_many_enum_values.test (+2/-2)
tests/suite/broken/t/packet.test (+1/-1)
tests/suite/broken/t/strict-date.test (+121/-121)
tests/suite/jp/t/jp_like_utf8.test (+3/-3)
tests/suite/jp/t/jp_select_utf8.test (+3/-3)
tests/suite/jp/t/jp_where_utf8.test (+3/-3)
tests/t/almost_full.test (+2/-2)
tests/t/alter_column_drop_default.test (+1/-1)
tests/t/alter_table.test (+3/-3)
tests/t/alter_table_options.test (+1/-1)
tests/t/analyze.test (+2/-2)
tests/t/auto_increment.test (+4/-4)
tests/t/binary.test (+1/-1)
tests/t/broken_table_proto_file.test (+2/-2)
tests/t/case.test (+3/-3)
tests/t/cast.test (+2/-2)
tests/t/comment_column.test (+4/-4)
tests/t/comment_index.test (+2/-2)
tests/t/comments.test (+1/-1)
tests/t/connect.test (+6/-6)
tests/t/create.test (+65/-65)
tests/t/create_schema_options.test (+4/-4)
tests/t/create_select_column_order.test (+3/-3)
tests/t/create_select_tmp.test (+10/-10)
tests/t/create_table_options.test (+4/-4)
tests/t/ctype_utf8.test (+4/-4)
tests/t/data_dictionary_like_info.test (+5/-5)
tests/t/dayofmonth.test (+10/-10)
tests/t/dayofyear.test (+10/-10)
tests/t/default.test (+3/-3)
tests/t/derived.test (+9/-9)
tests/t/drop.test (+8/-8)
tests/t/errors.test (+13/-13)
tests/t/explain.test (+2/-2)
tests/t/flush.test (+1/-1)
tests/t/func_date_add.test (+2/-2)
tests/t/func_default.test (+1/-1)
tests/t/func_gconcat.test (+2/-2)
tests/t/func_sapdb.test (+1/-1)
tests/t/func_str.test (+3/-3)
tests/t/func_time.test (+26/-26)
tests/t/group_by.test (+2/-2)
tests/t/having.test (+7/-7)
tests/t/heap.test (+5/-5)
tests/t/heap_var.test (+1/-1)
tests/t/hour.test (+13/-13)
tests/t/innodb.test (+35/-35)
tests/t/insert.test (+9/-9)
tests/t/insert_select.test (+6/-6)
tests/t/insert_update.test (+7/-7)
tests/t/join.test (+2/-2)
tests/t/join_outer.test (+4/-4)
tests/t/key.test (+11/-11)
tests/t/kill.test (+3/-3)
tests/t/loaddata.test (+5/-5)
tests/t/lowercase_fs_off.test (+1/-1)
tests/t/microsecond.test (+14/-14)
tests/t/minute.test (+13/-13)
tests/t/month.test (+10/-10)
tests/t/null.test (+22/-22)
tests/t/null_key.test (+2/-2)
tests/t/olap.test (+3/-3)
tests/t/optimizer.test (+1/-1)
tests/t/order_by.test (+24/-24)
tests/t/outfile.test (+4/-4)
tests/t/parser.test (+1/-1)
tests/t/plugin-remove.test (+1/-1)
tests/t/quarter.test (+10/-10)
tests/t/regression_385808.test (+2/-2)
tests/t/rename.test (+5/-5)
tests/t/round.test (+2/-2)
tests/t/row.test (+9/-9)
tests/t/second.test (+13/-13)
tests/t/select.test (+12/-12)
tests/t/select_safe.test (+5/-5)
tests/t/show_check.test (+1/-1)
tests/t/small_tmp_table.test (+1/-1)
tests/t/strict.test (+57/-57)
tests/t/subselect.test (+9/-9)
tests/t/temp_table.test (+4/-4)
tests/t/timezone.test (+1/-1)
tests/t/timezone4.test (+1/-1)
tests/t/truncate.test (+2/-2)
tests/t/type_blob.test (+3/-3)
tests/t/type_date.test (+1/-1)
tests/t/type_datetime.test (+24/-24)
tests/t/type_decimal.test (+78/-78)
tests/t/type_enum.test (+19/-19)
tests/t/type_enum_max_elements.test (+3/-3)
tests/t/type_enum_too_many_elements.test (+1/-1)
tests/t/type_float.test (+8/-8)
tests/t/type_newdecimal.test (+16/-16)
tests/t/type_ranges.test (+5/-5)
tests/t/type_timestamp.test (+5/-5)
tests/t/type_uint.test (+1/-1)
tests/t/type_varbinary.test (+2/-2)
tests/t/union.test (+28/-28)
tests/t/update.test (+6/-6)
tests/t/user_var.test (+4/-4)
tests/t/varbinary.test (+2/-2)
tests/t/variables.test (+24/-24)
tests/t/warnings.test (+20/-20)
tests/t/weekday.test (+10/-10)
tests/t/year.test (+10/-10)
tests/test-run.pl (+2/-9)
lp:~kalebral-deactivatedaccount/drizzle/change-error_num_to_enum-2
- Monty Taylor: Approve
-
Diff: 7230 lines (+1236/-1223)154 files modifiedclient/errname.cc (+21/-1)
plugin/archive/tests/t/archive.test (+4/-4)
plugin/archive/tests/t/archive_aio_posix.test (+4/-4)
plugin/archive/tests/t/archive_discover.test (+1/-1)
plugin/blackhole/tests/t/blackhole.test (+2/-2)
plugin/blackhole/tests/t/create_max_fields.test (+1/-1)
plugin/blitzdb/tests/t/blitzdb-alter.test (+2/-2)
plugin/blitzdb/tests/t/blitzdb-basic.test (+11/-11)
plugin/blitzdb/tests/t/blitzdb-decimal.test (+6/-6)
plugin/blitzdb/tests/t/blitzdb-index.test (+29/-29)
plugin/csv/tests/t/csv.test (+4/-4)
plugin/csv/tests/t/csv_not_null.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/alter_column_drop_default.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/alter_table.test (+3/-3)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/auto_increment.test (+6/-6)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_create_nullable.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_create_table.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_drop_table.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_insert_pkey_duplicate.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/basic_statement_rollback.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/comments.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_format.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/index_length_limit.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/index_prefix.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/rename.test (+4/-4)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/replace.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/truncate.test (+2/-2)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_blob.test (+3/-3)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_date.test (+1/-1)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_datetime.test (+24/-24)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_decimal.test (+78/-78)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_enum.test (+10/-10)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_float.test (+8/-8)
plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/type_timestamp.test (+7/-7)
plugin/filesystem_engine/tests/t/basic_create_table.test (+4/-4)
plugin/myisam/tests/t/myisam.test (+6/-6)
plugin/pbxt/tests/t/basic_create_nullable.test (+2/-2)
plugin/pbxt/tests/t/basic_create_table.test (+1/-1)
plugin/pbxt/tests/t/basic_drop_table.test (+1/-1)
plugin/pbxt/tests/t/basic_insert_pkey_duplicate.test (+1/-1)
plugin/pbxt/tests/t/basic_statement_rollback.test (+1/-1)
plugin/rand_function/tests/t/basic.test (+1/-1)
plugin/schema_dictionary/tests/t/no_default.test (+1/-1)
plugin/show_schema_proto/tests/t/basic.test (+1/-1)
plugin/sleep/tests/t/sleep.test (+2/-2)
plugin/tableprototester/tests/t/drop_table.test (+1/-1)
plugin/tableprototester/tests/t/invalid_table_collation.test (+1/-1)
plugin/tableprototester/tests/t/missing_engine.test (+1/-1)
plugin/tableprototester/tests/t/too_many_enum_values.test (+2/-2)
tests/suite/broken/t/packet.test (+1/-1)
tests/suite/broken/t/strict-date.test (+121/-121)
tests/suite/jp/t/jp_like_utf8.test (+3/-3)
tests/suite/jp/t/jp_select_utf8.test (+3/-3)
tests/suite/jp/t/jp_where_utf8.test (+3/-3)
tests/t/almost_full.test (+2/-2)
tests/t/alter_column_drop_default.test (+1/-1)
tests/t/alter_table.test (+3/-3)
tests/t/alter_table_options.test (+1/-1)
tests/t/analyze.test (+2/-2)
tests/t/auto_increment.test (+4/-4)
tests/t/binary.test (+1/-1)
tests/t/broken_table_proto_file.test (+2/-2)
tests/t/case.test (+3/-3)
tests/t/cast.test (+2/-2)
tests/t/comment_column.test (+4/-4)
tests/t/comment_index.test (+2/-2)
tests/t/comments.test (+1/-1)
tests/t/connect.test (+6/-6)
tests/t/create.test (+65/-65)
tests/t/create_schema_options.test (+4/-4)
tests/t/create_select_column_order.test (+3/-3)
tests/t/create_select_tmp.test (+10/-10)
tests/t/create_table_options.test (+4/-4)
tests/t/ctype_utf8.test (+4/-4)
tests/t/data_dictionary_like_info.test (+5/-5)
tests/t/dayofmonth.test (+10/-10)
tests/t/dayofyear.test (+10/-10)
tests/t/default.test (+3/-3)
tests/t/derived.test (+9/-9)
tests/t/drop.test (+8/-8)
tests/t/errors.test (+13/-13)
tests/t/explain.test (+2/-2)
tests/t/flush.test (+1/-1)
tests/t/func_date_add.test (+2/-2)
tests/t/func_default.test (+1/-1)
tests/t/func_gconcat.test (+2/-2)
tests/t/func_sapdb.test (+1/-1)
tests/t/func_str.test (+3/-3)
tests/t/func_time.test (+26/-26)
tests/t/group_by.test (+2/-2)
tests/t/having.test (+7/-7)
tests/t/heap.test (+5/-5)
tests/t/heap_var.test (+1/-1)
tests/t/hour.test (+13/-13)
tests/t/innodb.test (+35/-35)
tests/t/insert.test (+9/-9)
tests/t/insert_select.test (+6/-6)
tests/t/insert_update.test (+7/-7)
tests/t/join.test (+2/-2)
tests/t/join_outer.test (+4/-4)
tests/t/key.test (+11/-11)
tests/t/kill.test (+3/-3)
tests/t/loaddata.test (+5/-5)
tests/t/lowercase_fs_off.test (+1/-1)
tests/t/microsecond.test (+14/-14)
tests/t/minute.test (+13/-13)
tests/t/month.test (+10/-10)
tests/t/null.test (+22/-22)
tests/t/null_key.test (+2/-2)
tests/t/olap.test (+3/-3)
tests/t/optimizer.test (+1/-1)
tests/t/order_by.test (+24/-24)
tests/t/outfile.test (+4/-4)
tests/t/parser.test (+1/-1)
tests/t/plugin-remove.test (+1/-1)
tests/t/quarter.test (+10/-10)
tests/t/regression_385808.test (+2/-2)
tests/t/rename.test (+5/-5)
tests/t/round.test (+2/-2)
tests/t/row.test (+9/-9)
tests/t/second.test (+13/-13)
tests/t/select.test (+12/-12)
tests/t/select_safe.test (+5/-5)
tests/t/show_check.test (+1/-1)
tests/t/small_tmp_table.test (+1/-1)
tests/t/strict.test (+57/-57)
tests/t/subselect.test (+9/-9)
tests/t/temp_table.test (+4/-4)
tests/t/timezone.test (+1/-1)
tests/t/timezone4.test (+1/-1)
tests/t/truncate.test (+2/-2)
tests/t/type_blob.test (+3/-3)
tests/t/type_date.test (+1/-1)
tests/t/type_datetime.test (+24/-24)
tests/t/type_decimal.test (+78/-78)
tests/t/type_enum.test (+19/-19)
tests/t/type_enum_max_elements.test (+3/-3)
tests/t/type_enum_too_many_elements.test (+1/-1)
tests/t/type_float.test (+8/-8)
tests/t/type_newdecimal.test (+16/-16)
tests/t/type_ranges.test (+5/-5)
tests/t/type_timestamp.test (+5/-5)
tests/t/type_uint.test (+1/-1)
tests/t/type_varbinary.test (+2/-2)
tests/t/union.test (+28/-28)
tests/t/update.test (+6/-6)
tests/t/user_var.test (+4/-4)
tests/t/varbinary.test (+2/-2)
tests/t/variables.test (+24/-24)
tests/t/warnings.test (+20/-20)
tests/t/weekday.test (+10/-10)
tests/t/year.test (+10/-10)
tests/test-run.pl (+2/-9)
To post a comment you must log in.