1. 16 Oct, 2009 1 commit
    • Alexander Ivanov's avatar
      MWL#36: Add a mysqlbinlog option to change the used database. · 324abd68
      Alexander Ivanov authored
      Make sql_alloc() declaration "public" for a client context.
      The reason is that sql_alloc() is used in definition of some common
      purpose stuff (e.g. sql_list.*). To make this stuff available for a
      client context we declare sql_alloc() as a "virtual function", i.e.
      as a function that is already declared but must be defined in this
      context (note that definition of sql_alloc() in thr_malloc.cc is
      #ifndef'ed for MYSQL_CLIENT).
      Also make sql_string.h repeatedly includable.
      
      324abd68
  2. 06 Oct, 2009 11 commits
  3. 05 Oct, 2009 2 commits
    • unknown's avatar
      MBug#443092: test cases mysql and mysql_upgrade fails with wildcard DNS · 164270bc
      unknown authored
      When DNS is not working and returns some address even for non-existing
      host names, some test cases fail with wrong error.
      
      Fix by disabling these tests on such systems.
      164270bc
    • unknown's avatar
      MBug#443014: Too many 'skipped' messages in mysql-test-run · 9cbc76b9
      unknown authored
      Remove mysql-test-run.pl unnecessary and confusing 'skipped' messages.
      
       - In mysql-test-run.pl, we auto-generate combinations of replication
         tests. But this sometimes generates combinations that are meaningless,
         like running a test that requires row-based replication with
         statement-based. These superfluous combinationes should not be
         reported as skipped, they should just be deleted.
      
       - Remove ndb suites from default suites, as we do not support NDB
         in MariaDB.
      
      Keep skip messages resulting from running mysql-test-run.pl in special
      ways, eg. --mysqld=--binlog-format=statement.
      9cbc76b9
  4. 04 Oct, 2009 1 commit
    • Sergey Petrunya's avatar
      Fix a problem in windows build introduced a few csets ago (in · 52d92de3
      Sergey Petrunya authored
      "Merge Monty's fixes from main into release branch" .. cset):
      - mysql_get_server_name() is a new client API function and so should
        be exported from libmysql[d].
      
      libmysql/libmysql.def:
        mysql_get_server_name() is a new client API function and so should
        be exported from libmysql[d].
      libmysqld/libmysqld.def:
        mysql_get_server_name() is a new client API function and so should
        be exported from libmysql[d].
      52d92de3
  5. 03 Oct, 2009 6 commits
  6. 02 Oct, 2009 6 commits
    • unknown's avatar
      Merge Monty's fixes from main into release branch. · 4f835f19
      unknown authored
       - MariaDB naming.
       - Error reporting with mysqld --help --verbose.
      4f835f19
    • unknown's avatar
      Add missing windows files to `make dist`. · 1137e954
      unknown authored
      1137e954
    • Michael Widenius's avatar
      Fixed typo · df26a7a5
      Michael Widenius authored
      df26a7a5
    • Michael Widenius's avatar
      When using --help --verbose give error and abort if there are any unknown options · 1f7cc235
      Michael Widenius authored
      mysql-test/r/mysqld_option_err.result:
        Test that mysqld --not-known-option --help --verbose gives error
      mysql-test/t/mysqld_option_err.test:
        Test that mysqld --not-known-option --help --verbose gives error
      1f7cc235
    • Michael Widenius's avatar
      Added client functions: · d2b9b326
      Michael Widenius authored
      - mysql_get_server_name()
        This returns MySQL or MariaDB depending on the server type
      - mariadb_connection()
        This returns 1 if you are connected to a MariaDB server
      
      Modifed the MySQL command line client to print out if you are connected to MariaDB or MySQL
      Better default prompt (shows server you are connected to and base directory)
      
      client/mysql.cc:
        Print out if you are connected to MariaDB or MySQL
        Better default prompt (shows server you are connected to and base directory)
        Added option \N to prompt to print server name.
      configure.in:
        Changed maria to MariaDB in version string
      include/mysql.h:
        Added mysql_get_server_name() and mariadb_connection()
      include/mysql.h.pp:
        Update for new API functions
      libmysql/libmysql.c:
        Added client functions:
        - mysql_get_server_name()
          This returns MySQL or MariaDB depending on the server type
        - mariadb_connection()
          This returns 1 if you are connected to a MariaDB server
      d2b9b326
    • unknown's avatar
      Add a simple way to robustly get the name of the generated source tarball, so as to not · e710b778
      unknown authored
      to have to rely on fragile regexp-parsing of configure.in.
      e710b778
  7. 01 Oct, 2009 2 commits
  8. 30 Sep, 2009 4 commits
  9. 29 Sep, 2009 5 commits
  10. 26 Sep, 2009 1 commit
  11. 25 Sep, 2009 1 commit
    • unknown's avatar
      Fix some test failures found during RPM package building: · e3bfc4d7
      unknown authored
       - mysqlslap result file update after merge.
       - Fix skipping certain tests when running test suite as root, got broken somehow.
      
      mysql-test/mysql-test-run.pl:
        Somehow skipping tests when running as root got broken. The mysqltest if() no longer seems
        to accept YES as a true value, so use 1 for true value instead.
      mysql-test/r/mysqlslap.result:
        Result file update after change in engine behaviour of mysqlslap.
      mysql-test/t/mysqld_option_err.test:
        This test does not work when run as root.
      e3bfc4d7