1. 21 May, 2003 4 commits
    • unknown's avatar
      Resolve merge conflict · 5c18a462
      unknown authored
      5c18a462
    • unknown's avatar
      Resolve merge colflict · a8e5dcb4
      unknown authored
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/isam.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      include/mysqld_error.h:
        Resolve merge colflict by changing the warning codes
      a8e5dcb4
    • unknown's avatar
      Fix for Windows build by adding pack.c to appropriate .dsp files · 61fd4d56
      unknown authored
      
      libmysql/libmysql.c:
        Fix for Windows builds
      VC++Files/client/mysqlclient.dsp:
        Added pack.c
      VC++Files/libmysql/libmysql.dsp:
        Added pack.c
      61fd4d56
    • unknown's avatar
      Added mysql_fetch_column function · d6e9a39a
      unknown authored
      Added MYSQL_TYPE_NULL as a dummy bind case for fetch buffers
      Fix for offset based re-fetch using mysql_fetch_column
      Misc cleanups for ODBC compatibility
      
      
      include/mysql.h:
        Fix for offset based re-fetch using mysql_fetch_column
      libmysql/libmysql.c:
        Added mysql_fetch_column function
        Added MYSQL_TYPE_NULL as a dummy bind case for fetch buffers
      libmysql/libmysql.def:
        Updated new APIs
      d6e9a39a
  2. 20 May, 2003 4 commits
  3. 19 May, 2003 4 commits
  4. 16 May, 2003 1 commit
  5. 15 May, 2003 7 commits
    • unknown's avatar
      changes to mysqladmin : use queries instead of commands (so that they have a chance to go · 80c1556a
      unknown authored
      into the binlog), SLAVE START -> START SLAVE, error test changes.
      
      
      client/mysqladmin.c:
        Now that FLUSH TABLES and some other FLUSH go into the binlog, the same commands
        issued from mysqladmin should also go into the binlog. How could I explain to
        a user that "mysql -e 'flush tables'" is not exactly the same as "mysqladmin
        flush-tables" ?? So I replace mysql_refresh() by mysql_query().
        Also SLAVE START -> START SLAVE to make this work with 4.1 (it won't work with
        3.23 anymore).
        Also the code tested for mysql_refresh() < 0 for errors, but this cannot happen :
        - mysql_refresh() calls simple_command()
        - in 4.1 the return type of simple_command() is my_bool, and I have checked the 4.1 libmysql
        code and it returns 0 or 1, not negative values.
        - note that in 4.0 libmysql, simple_command() returns int which can be < 0, but we don't
        care here as we link the 4.1 mysqladmin with the 4.1 libmysql.
        Btw, some other parts of the code already checked
        for mysql_refresh() != 0, not < 0. So now it's homogenous : we always test for != 0
        instead of < 0.
      80c1556a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · ddabd51c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      ddabd51c
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · ec72bda5
      unknown authored
      now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
      binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
      OPTIMIZE NO_WRITE_TO_BINLOG table t;
      
      Previously these commands were never written to the binlog, but there are
      2 reasons to change this :
      - the RENAME TABLE in MERGE table bug (#175) on slave
      - the possible "differently optimised queries may lead to different
      updates on the master and slave" bug, until we have automatic ORDER BY.
      
      FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
      New test for the new logging behaviour.
      Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
      this is more usual.
      
      
      mysql-test/mysql-test-run.sh:
        rpl_flush_tables.test generates 'table xx is open on rename'.
        This is normal and done on purpose, so don't report it.
      sql/lex.h:
        New keyword NO_WRITE_TO_BINLOG
      sql/mysql_priv.h:
        reload_acl_and_cache() now decides if we want to write the FLUSH command
        to the binlog or not (FLUSH MASTER, FLUSH SLAVE, FLUSH TABLES
        WITH READ LOCK, FLUSH LOGS cannot go into the binlog).
      sql/mysqld.cc:
        updated for new prototype of reload_acl_and_cache().
      sql/sql_lex.h:
        New boolean no_write_to_binlog in the lex structure.
      sql/sql_parse.cc:
        reload_acl_and_cache() now does not send its errors itself;
        it saves the error and the caller sends it.
        FLUSH, OPTIMIZE, ANALYZE, REPAIR commands don't write to the binlog
        if the NO_WRITE_TO_BINLOG keyword was used.
      sql/sql_repl.cc:
        reset_slave() does not send its errors himself.
      sql/sql_yacc.yy:
        New optional keyword NO_WRITE_TO_BINLOG for OPTIMIZE/ANALYZE/REPAIR/FLUSH :
        OPTIMIZE NO_WRITE_TO_BINLOG TABLE t;
        ANALYZE NO_WRITE_TO_BINLOG TABLE t;
        REPAIR NO_WRITE_TO_BINLOG TABLE t;
        FLUSH NO_WRITE_TO_BINLOG TABLE t;
      ec72bda5
    • unknown's avatar
      Fix to get thread_test to compile · 8178016c
      unknown authored
      
      BitKeeper/etc/ignore:
        added insert_test
      tests/thread_test.c:
        Remove compiler warnings
      8178016c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · df9068e3
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      df9068e3
    • unknown's avatar
      Remove warning from automake · 5dc31217
      unknown authored
      5dc31217
    • unknown's avatar
      configure.in: · e6ea512d
      unknown authored
        ./configure --with-charset=big5  didn't work
      
      
      configure.in:
        ./configure --with-charset=big5  didn't work
      e6ea512d
  6. 14 May, 2003 2 commits
  7. 13 May, 2003 2 commits
    • unknown's avatar
      Proper replication of CONNECTION_ID() and 4.1 PASSWORD() (bugs 177 and 344), · 40e4b8d0
      unknown authored
      new test for this.
      
      
      sql/item_create.cc:
        Proper replication of CONNECTION_ID() (bug 177).
        This is just for replication; mysqlbinlog|mysql still does not work
        with CONNECTION_ID(), it will wait for row-level binlogging.
      sql/item_strfunc.cc:
        Proper replication of the new 4.1 PASSWORD() (bug 344)
      40e4b8d0
    • unknown's avatar
      Give warning if MySQL doesn't honor given storage engine · 9f22d166
      unknown authored
      Allow syntax CREATE TABLE t1 (LIKE t2)
      
      
      BUILD/compile-pentium-debug-max:
        Disable isam
      BUILD/compile-pentium-valgrind-max:
        Disable isam
      include/mysqld_error.h:
        New error
      mysql-test/r/bdb.result:
        new error message
      mysql-test/r/innodb.result:
        new error message
      mysql-test/r/subselect.result:
        New test
      mysql-test/r/variables.result:
        New test
      mysql-test/r/warnings.result:
        Test of warning if MySQL creates table with another handler than specified
      mysql-test/t/innodb.test:
        Added test case for derivied tables
      mysql-test/t/subselect.test:
        New test
      mysql-test/t/variables-master.opt:
        Fixed wrong parameter
      mysql-test/t/warnings.test:
        Test if creating handler of not existing table type
      sql/ha_isam.cc:
        Added option --skip-isam
      sql/ha_isam.h:
        Added option --skip-isam
      sql/handler.cc:
        Added option --skip-isam
      sql/item.cc:
        Deleted probably wrong bug fix
      sql/mysqld.cc:
        Added option --skip-isam
      sql/share/czech/errmsg.txt:
        Added missing ','
      sql/share/danish/errmsg.txt:
        Added missing ','
      sql/share/dutch/errmsg.txt:
        Added missing ','
      sql/share/english/errmsg.txt:
        Added missing ','
        changed table handler -> storage engine
      sql/share/estonian/errmsg.txt:
        Added missing ','
      sql/share/french/errmsg.txt:
        Added missing ','
      sql/share/german/errmsg.txt:
        Added missing ','
      sql/share/greek/errmsg.txt:
        Added missing ','
      sql/share/hungarian/errmsg.txt:
        Added missing ','
      sql/share/italian/errmsg.txt:
        Added missing ','
      sql/share/japanese/errmsg.txt:
        Added missing ','
      sql/share/korean/errmsg.txt:
        Added missing ','
      sql/share/norwegian-ny/errmsg.txt:
        Added missing ','
      sql/share/norwegian/errmsg.txt:
        Added missing ','
      sql/share/polish/errmsg.txt:
        Added missing ','
      sql/share/portuguese/errmsg.txt:
        Added missing ','
      sql/share/romanian/errmsg.txt:
        Added missing ','
      sql/share/russian/errmsg.txt:
        Added missing ','
      sql/share/serbian/errmsg.txt:
        Added missing ','
      sql/share/slovak/errmsg.txt:
        Added missing ','
      sql/share/spanish/errmsg.txt:
        Added missing ','
      sql/share/swedish/errmsg.txt:
        Added missing ','
      sql/share/ukrainian/errmsg.txt:
        Added missing ','
      sql/sql_acl.cc:
        Fix bug in access checking of derived tables
      sql/sql_base.cc:
        Indentation change
      sql/sql_parse.cc:
        Fix bug in access checking of derived tables
      sql/sql_select.cc:
        Fixed bug in new sub select optimization
      sql/sql_table.cc:
        Give warning if MySQL doesn't honor given storage engine
      sql/sql_yacc.yy:
        Allow syntax CREATE TABLE t1 (LIKE t2).
      9f22d166
  8. 06 May, 2003 2 commits
  9. 05 May, 2003 2 commits
    • unknown's avatar
      merge · 429c488f
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/unireg.h:
        Auto merged
      429c488f
    • unknown's avatar
      Removed compiler warnings · b96aaea7
      unknown authored
      Fixed memory leak in new filesort code
      Optimzed sub selects to use keys with outer references.
      Increased max tables in join to 62
      
      
      client/Makefile.am:
        Remve test programs
      myisam/mi_check.c:
        Remove compiler warnings
      myisam/mi_delete.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_open.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_write.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamdef.h:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamlog.c:
        Remove 'rnd' variable to make usage repeatable
      mysql-test/r/subselect.result:
        new test
      mysql-test/t/join.test:
        Updated test
      mysql-test/t/subselect.test:
        new test
      sql/filesort.cc:
        Added function to free buffers allocated by filesort
      sql/item.cc:
        Sub select optimization
      sql/item_cmpfunc.cc:
        Sub select optimization
      sql/item_subselect.cc:
        Sub select optimization
      sql/item_sum.cc:
        Removed compiler warnings
      sql/item_sum.h:
        Simple code cleanup
      sql/log.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Made table_map ulonglong to allow 62 tables in join
      sql/records.cc:
        Moved free of filesort buffers to own function
      sql/sql_select.cc:
        subselect optimization
        Call filesort_free_buffers() to free memory from filesort
      sql/unireg.h:
        Sub select optimization
      b96aaea7
  10. 03 May, 2003 3 commits
  11. 02 May, 2003 2 commits
  12. 30 Apr, 2003 5 commits
    • unknown's avatar
      make_win_src_distribution.sh: · cddecbb1
      unknown authored
        Fix for bdb/cxx as they contain .cpp files directly ( for 4.0 to go )
      
      
      scripts/make_win_src_distribution.sh:
        Fix for bdb/cxx as they contain .cpp files directly ( for 4.0 to go )
      cddecbb1
    • unknown's avatar
      make compilation to work w/o InnoDB as well · a20b167c
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a20b167c
    • unknown's avatar
      Fixed bug in Item_func_compress::val_str() on MacOS X (bigendian); the length · 4a506d6e
      unknown authored
      was not properly stored in the buffer.
      
      
      sql/item_strfunc.cc:
        Made it work on MacOS X (bigendian) where int4store is a macro that expands
        the arguments several times.
        It's possible this should be done differently, like not side-stepping the
        String methods the way it's done here, or fixing String::c_ptr(), but this
        simple fix was the quickest way.
      4a506d6e
    • unknown's avatar
      Updated warning test · b8571294
      unknown authored
      Updated all tests to catchup warnings for all field conversions
      
      
      mysql-test/t/ctype_many.test:
        Disable the warnings for misc conversion
      mysql-test/t/warnings.test:
        More warning tests
      b8571294
    • unknown's avatar
      Support of warnings for all DML statements (Insert, Update and Alter) · 05af39d5
      unknown authored
      Fix LOAD DATA INFILE warnings to have a better meanigful messages
      Fix to make the mysql command line to automatically show the warnings count for all basic commands
      
      
      05af39d5
  13. 29 Apr, 2003 1 commit
  14. 28 Apr, 2003 1 commit