• Michael Widenius's avatar
    Changed MariaDB error numbers to start from 1900 to not conflict with MySQL error numbers · f610296d
    Michael Widenius authored
    
    extra/comp_err.c:
      Allow one to have multiple start-error-numbers in the same error.txt file.
      Generate 'empty' error strings for the missing error numbers in the errmsg.sys file
    mysql-test/r/bigint.result:
      Update results to use new error numbers
    mysql-test/r/dyncol.result:
      Update results to use new error numbers
    mysql-test/r/func_math.result:
      Update results to use new error numbers
    mysql-test/r/func_str.result:
      Update results to use new error numbers
    mysql-test/r/plugin.result:
      Update results to use new error numbers
    mysql-test/r/table_options.result:
      Update results to use new error numbers
    mysql-test/r/type_newdecimal.result:
      Update results to use new error numbers
    mysql-test/r/warnings.result:
      Update results to use new error numbers
    mysql-test/suite/vcol/r/vcol_ins_upd_innodb.result:
      Update results to use new error numbers
    mysql-test/suite/vcol/r/vcol_ins_upd_myisam.result:
      Update results to use new error numbers
    mysql-test/suite/vcol/r/vcol_misc.result:
      Update results to use new error numbers
    sql/derror.cc:
      Ensure we don't read a errmsg.sys with a missing required error message;  This change was needed as errmsg.sys may now contain empty error messages between the MySQL and MariaDB error messages.
      If error message file didn't exist and we have not read one in the past, don't continue.
      Give better error message if the errmsg.sys header has changed.
    sql/share/errmsg.txt:
      Create new section, starting from 1900, for MariaDB error messages
    f610296d
errmsg.txt 409 KB