1. 25 Jan, 2005 1 commit
    • unknown's avatar
      Change 'mysql' client to output XML like the 'mysqldump' · d8f39341
      unknown authored
      tool does, with the column names as attributes on <field>
      elements, instead of trying to use the column name as the
      element name. Also fix some encoding issues. (Bug #7811)
      
      
      client/mysql.cc:
        Quote > and " in XML output, and use <field name="XXX"></field>
        instead of <XXX></XXX>, to make the output more like
        mysqldump --xml and avoid having to turn XXX into a sensible
        element name.
      d8f39341
  2. 24 Jan, 2005 13 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 4bb1c716
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      4bb1c716
    • unknown's avatar
      A fix for Bug#5787 "mysql_stmt_prepare is upto 8 times slower": · dc43c6ea
      unknown authored
      it's crucial to disable Nagle algorithm on client for no-reply commands
      (like mysql_stmt_free) to always work fast.
      Nagle algorithm instructs the sender to buffer (store) data if any 
      unacknowledged data is outstanding and the size of to-send data is less than
      the network segment. It was exactly the case with COM_STMT_CLOSE after 
      COM_STMT_PREPARE, so the client was waiting for Nagle timer to expire or
       for ACK from the server, while the server was holding up ACK because of 
      delayed acknowledgement algorithm.
      The tricky part is that we have been already disabling Nagle 
      algorithm (by setting TCP_NODELAY)
      almost everywhere except Windows (and maybe Netware).
      It is the reason why the bug was repeatable only with Windows client.
      
      
      vio/viosocket.c:
        A fix for Bug#5787 "mysql_stmt_prepare is upto 8 times slower":
        if we disable Nagle algorithm, do it everywhere.
      dc43c6ea
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-7887 · 844fe1ea
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      844fe1ea
    • unknown's avatar
      Set lower_case_file_system when it is being tested to check if · 15f37ac2
      unknown authored
      lower_case_tables_names=2 is sensible. Related to Bug #7887.
      
      
      sql/mysqld.cc:
        Set lower_case_file_system when it is being tested to check
        if lower_case_tables_names=2 is sensible.
      15f37ac2
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 4332ac91
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      tests/mysql_client_test.c:
        Auto merged
      4332ac91
    • unknown's avatar
      remove the entry from the list, before freeing · 7109999b
      unknown authored
      7109999b
    • unknown's avatar
      my_global.h: · 2eabdaa2
      unknown authored
        Bug#7145 Added cast to doublestore() and ARM
      
      
      include/my_global.h:
        Added cast to doublestore() and ARM
      2eabdaa2
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · cc18b5f7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      cc18b5f7
    • unknown's avatar
      mysql_client_test.test, mysql-test-run.sh: · 0af8f701
      unknown authored
        Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
      mysql-test-run.sh:
        Renamed client_test to mysql_client_test
        Support --embedded-server test on installed server
      mysql_client_test.test:
        Renamed client_test to mysql_client_test
        Use env var CLIENT_TEST with full name, it differs when run with --embedded-server
        Rename: mysql-test/t/client_test.test -> mysql-test/t/mysql_client_test.test
      
      
      mysql-test/mysql-test-run.sh:
        Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
      mysql-test/t/mysql_client_test.test:
        Let MYSQL_CLIENT_TEST be set with command line from mysql-test-run script
      0af8f701
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · ba3b78d9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      mysys/mf_keycache.c:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      ba3b78d9
    • unknown's avatar
      fixes/cleanups according to Coverity report · 8bdb5001
      unknown authored
      8bdb5001
    • unknown's avatar
      mysql-test-run.sh: · 343e9bbd
      unknown authored
        backported access to ndb_mgm from 5.0
      
      
      mysql-test/mysql-test-run.sh:
        backported access to ndb_mgm from 5.0
      343e9bbd
    • unknown's avatar
      2f196ec7
  3. 23 Jan, 2005 1 commit
  4. 22 Jan, 2005 4 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-4.1-lenz · 7a34153b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      
      7a34153b
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.0-0 · d3db70de
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      mysql-test/r/select_found.result:
        Auto merged
      mysql-test/t/select_found.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      d3db70de
    • unknown's avatar
      select_found.result, select_found.test: · 25c2d1ad
      unknown authored
        Added a test case for bug #7945.
      sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      
      
      sql/sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      mysql-test/t/select_found.test:
        Added a test case for bug #7945.
      mysql-test/r/select_found.result:
        Added a test case for bug #7945.
      25c2d1ad
    • unknown's avatar
      fil0fil.c: · c695ccd2
      unknown authored
        Fix a race condition that could cause the assertion space->n_pending_flushes == 0 to fail in fil0fil.c, in fil_space_free(), in DROP TABLE or in ALTER TABLE
      
      
      innobase/fil/fil0fil.c:
        Fix a race condition that could cause the assertion space->n_pending_flushes == 0 to fail in fil0fil.c, in fil_space_free()
      c695ccd2
  5. 21 Jan, 2005 10 commits
  6. 20 Jan, 2005 11 commits
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 352593ec
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      352593ec
    • unknown's avatar
      - fixed one missing occasion from the mysql_client_test renaming · 4e1e23a1
      unknown authored
      
      libmysqld/examples/Makefile.am:
        - fixed a missing rename (mysql_client_test -> mysql_client_test_embedded)
      4e1e23a1
    • unknown's avatar
      - renamed client_test -> mysql_client_test · c03aaf85
      unknown authored
      - renamed the tests that use the embedded server (client_test -> 
        mysql_client_test_embedded, mysqltest -> mysql_test_embedded
        and changed some Makefiles and scripts so they are installed in $bindir
        (required to be able to run the test suite against the embedded server)
      
      
      tests/mysql_client_test.c:
        Rename: tests/client_test.c -> tests/mysql_client_test.c
      libmysql/libmysql.c:
        - renamed client_test.c to mysql_client_test.c in a comment
      libmysqld/examples/Makefile.am:
        - renamed client_test -> mysql_client_test_embedded
        - renamed mysqltest -> mysqltest_embedded
        - both will be installed in $bindir
      scripts/make_binary_distribution.sh:
        - install mysql_client_test, mysql_client_test_embedded and mysqltest_embedded
          into bin directory
      tests/Makefile.am:
        - renamed client_test to mysql_client_test
      BitKeeper/etc/ignore:
        Added tests/mysql_client_test to the ignore list
      c03aaf85
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · aea5775c
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      
      aea5775c
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · aa2eb4e0
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      
      aa2eb4e0
    • unknown's avatar
      item_cmpfunc.cc: · 9241e345
      unknown authored
        Bug#7834 Illegal mix of collations in IN operator
        IN was the first function supporting 
        character set convertion.
        agg_arg_charsets() was written afterwards,
        which is more flexible.
        Now IN just reuses this function.
      
      
      sql/item_cmpfunc.cc:
        Bug#7834 Illegal mix of collations in IN operator
        IN was the first function supporting 
        character set convertion.
        agg_arg_charsets() was written afterwards,
        which is more flexible.
        Now IN just reuses this function.
      9241e345
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · d07dc11f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      d07dc11f
    • unknown's avatar
      bug#8010 - ndb · 877ed48b
      unknown authored
        release connections when last op was simple read
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        bug#8010
          release connections when last op was simple read
      877ed48b
    • unknown's avatar
    • unknown's avatar
      - Improved Do-rpm to perform RPM builds inside of a chrooted build · 89a24f93
      unknown authored
        environment (using "build" on SUSE Linux)
      
      
      Build-tools/Do-rpm:
        - added functionality to perform RPM builds inside of a chrooted build
          environment (using "build" on SUSE Linux) - see "--help" for more details
      89a24f93
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · af23c2b3
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      af23c2b3