1. 18 Nov, 2004 1 commit
    • unknown's avatar
      Fixed one warning and two errors reported by VC 6.0. · b593f4ef
      unknown authored
      
      BitKeeper/etc/ignore:
        Added ndb/tools/ndb_restore to the ignore list
      sql/item.cc:
        Fixed VC 6.0 warning:
        mysql-5.0.2-alpha\sql\item.cpp(1729) : warning C4715: 'resolve_ref_in_select_and_group' : not all control paths return a value
      sql/opt_range.cc:
        Fixed VC 6.0 errors:
        ERROR # 4: mysql-5.0.2-alpha\sql\opt_range.cpp(8070) : error C2664: 'key_cmp' : cannot convert parameter 2 from 'char *' to 'const unsigned char *'
                Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
        
        ERROR # 5: mysql-5.0.2-alpha\sql\opt_range.cpp(8196) : error C2664: 'key_cmp' : cannot convert parameter 2 from 'char *' to 'const unsigned char *'
                Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
      b593f4ef
  2. 17 Nov, 2004 12 commits
    • unknown's avatar
      f09a607a
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.0 · 18f40e4a
      unknown authored
      into ltantony.rdg.cyberkinetica.homeunix.net:/usr/home/antony/work/wl638.3
      
      18f40e4a
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 82f70028
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
      
      82f70028
    • unknown's avatar
      WL#638 - Fix precedence for parsing NOT ... LIKE expression s · e1bb2916
      unknown authored
        Rework parser expression rules
        Rework handling for "||" concat/or
        Eliminate some shift/reduce conflicts
        Add support for "xxx IS [ NOT ] truth_value"
      
      
      mysql-test/r/ansi.result:
        Fix test for new BROKEN_NOT mode bit
      mysql-test/r/bool.result:
        WL#638
          New test for BROKEN_NOT mode
          New test for "expr IS [NOT] truth_value" syntax
      mysql-test/r/sql_mode.result:
        Fix test for new BROKEN_NOT mode bit
      mysql-test/t/bool.test:
        WL#638
          New test for BROKEN_NOT mode
          New test for "expr IS [NOT] truth_value" syntax
      sql/lex.h:
        WL#638
          "&&" and "AND" return different tokens,
          NOT token changed to NOT_SYM
          OR_OR_CONCAT token changed to OR_OR_SYM
          New token "UNKNOWN"
      sql/mysql_priv.h:
        WL#638
          New mode: BROKEN_NOT
      sql/mysqld.cc:
        WL#638
          New mode: BROKEN_NOT
      sql/set_var.cc:
        WL#638
          New mode: BROKEN_NOT
          BROKEN_NOT is set in MYSQL323 and MYSQL40 modes
      sql/sql_lex.cc:
        Bug#638
          Alter tokens returned by lexer depending upon sql_mode:
          Return NOT2_SYM token instead of NOT_SYM when in BROKEN_NOT mode
          Return OR2_SYM token instead of OR_OR_SYM when not in PIPES_AS_CONCAT mode
      sql/sql_yacc.yy:
        WL#638
          Change grammar to respect proper SQL syntax for NOT
          Clean up grammar, eliminate >100 shift/reduce conflicts
          New support for "expr IS [NOT] truth_value" SQL syntax
          Remove or_or_concat() support func. New support func is_truth_value()
      e1bb2916
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · eac8c7be
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.1
      
      eac8c7be
    • unknown's avatar
      Fix for Auto_increment filed value in 'show table status' · 1d30c1d5
      unknown authored
      code cleanup
      
      
      mysql-test/r/information_schema.result:
        Fix for Auto_increment filed value in 'show table status'
      mysql-test/t/information_schema.test:
        Fix for Auto_increment filed value in 'show table status'
      1d30c1d5
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 8d44fb36
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
      
      8d44fb36
    • unknown's avatar
      #warning removed · 86c4732e
      unknown authored
      AC_FUNC_MMAP changes to AC_CHECK_FUNCS(mmap)
      
      
      configure.in:
        don't use AC_FUNC_MMAP - it checks for "private fixed mapping of
        already-mapped memory" - and we don't care about it.
        use regular AC_CHECK_FUNCS(mmap) instead
        (blame autoconf for misleading macro name - should've been
        AC_MMAP_CAN_DO_PRIVATE_FIXING_MAPPING_OF_ALREADY_MAPPED_MEMORY :)
      include/my_pthread.h:
        not all cpp's understand #warning :-[]
      86c4732e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · b4c740e2
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
      
      
      sql/item_func.cc:
        Auto merged
      sql/table.h:
        Auto merged
      b4c740e2
    • unknown's avatar
      fixing compiler warnings · d6d4cadf
      unknown authored
      
      sql/item_func.cc:
        fixed type
      sql/sql_base.cc:
        keep kompiller happy about unused lable in libmysqld
      sql/sql_view.cc:
        keep kompiller happy about unused variable in libmysqld
      sql/table.h:
        correct type casting
      d6d4cadf
    • unknown's avatar
      don't fail if dbug manual cannot be built · 17957027
      unknown authored
      17957027
    • unknown's avatar
      Fix warnings and compilation failures (Windows). · 5c3b2c33
      unknown authored
      
      sql/field.cc:
        Fix warning.
      sql/item_func.cc:
        Fix Windows compilation failure.
      sql/opt_range.cc:
        Fix warnings and errors (Windows)
      sql/sp_pcontext.h:
        Fix warning (Windows).
      sql/table.h:
        Fix warning (Windows).
      5c3b2c33
  3. 16 Nov, 2004 8 commits
  4. 15 Nov, 2004 18 commits
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-4.1-clean · e7fe34b6
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      
      client/mysqldump.c:
        Auto merged
      e7fe34b6
    • unknown's avatar
      compilation failures fixes. mysqldump now compiles on AIX 4.3. · 8fbe68ad
      unknown authored
      
      client/mysqldump.c:
        row[i] is char* so some compilers don't want to put it into a unsigned char*. A C++ comment.
      8fbe68ad
    • unknown's avatar
      Merge · 79d9cb5a
      unknown authored
      
      Makefile.am:
        Auto merged
      client/Makefile.am:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/sql_parse.cc:
        SCCS merged
      79d9cb5a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · a9eb3bce
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      a9eb3bce
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · e75d0098
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      e75d0098
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2e0e77d5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-mysqladmin
      
      2e0e77d5
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 86e76b14
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/petica
      
      86e76b14
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · bb665faf
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      bb665faf
    • unknown's avatar
      valgrind error fix · 7c4c0399
      unknown authored
      7c4c0399
    • unknown's avatar
      fixing a small typo · aed2cd2f
      unknown authored
      aed2cd2f
    • unknown's avatar
      fixed "condition is always false" warnings · 532a32bd
      unknown authored
      532a32bd
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 968c8251
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      BitKeeper/etc/ignore:
        auto-union
      configure.in:
        Auto merged
      dbug/dbug.c:
        Auto merged
      include/my_dbug.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_isam.cc:
        Auto merged
      sql/ha_isammrg.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      968c8251
    • unknown's avatar
      Bug#6608: MySQL server crash in some query with tis620 character set. · c47ae401
      unknown authored
      The bug was that the function allocates 'a', then changes the value
      of 'a' with the operator ++, and then tries to free 'a'!
      
      
      c47ae401
    • unknown's avatar
      Fixes for information_schema · 008fbb22
      unknown authored
      
      sql/sql_acl.cc:
        Fix for bug 'If user has column privilege with grant option is_grantable is 'NO' in 
        INFORMATION_SCHEMA.COLUMN_PRIVILEGES'
      sql/sql_show.cc:
        removed sprinf
        Fix for 'sp with select from information_schema table crashes server'
        typo fixes
      008fbb22
    • unknown's avatar
      BUG#6353 V2: · 4cc3ea9b
      unknown authored
      Replication using replicate-rewrite-db did not work for LOAD DATA INFILE.
      Now is does.  There was one place in the code that used current database 
      instead of the rewrite database.
      
      
      mysql-test/r/rpl_rewrite_db.result:
        New tests
      mysql-test/t/rpl_rewrite_db-slave.opt:
        New tests
      mysql-test/t/rpl_rewrite_db.test:
        New tests
      sql/log_event.cc:
        Added db to set_fields function so that current db is used.
      sql/log_event.h:
        Added db to set_fields function so that current db is used.
      4cc3ea9b
    • unknown's avatar
      changed compile order, mysqladmin with ndbcluster extensions needs ndb to be compiled first · c60412e7
      unknown authored
          added libs variable for ndbmgmclient used by mysqladmin
          add linkage with @ndb_mgmclient_libs@
          additional options for ndbcluster
          added support for managing the cluster to mysqladmin
          added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
          use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      
      
      Makefile.am:
        changed compile order, mysqladming with ndbcluster extensions needs ndb to be compiled first
      acinclude.m4:
        added libs variable for ndbmgmclient used by mysqladmin
      client/Makefile.am:
        add linkage with @ndb_mgmclient_libs@
      client/client_priv.h:
        additional options for ndbcluster
      client/mysqladmin.c:
        added support for managing the cluster to mysqladmin
      configure.in:
        added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
      include/my_global.h:
        use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      c60412e7
    • unknown's avatar
      always let traffic through to api cluster manager in transporter · 166671cc
      unknown authored
          print some info event on api connects with wrong versions
      
      
      BitKeeper/deleted/.del-Makefile.am~91c159ff4011609:
        Delete: ndb/tools/restore/Makefile.am
      ndb/src/common/transporter/TransporterRegistry.cpp:
        let traffic through to api cluster manager as well
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        print some info event on api connects with wrong versions
      166671cc
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c7bc64ab
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      c7bc64ab
  5. 14 Nov, 2004 1 commit
    • unknown's avatar
      Try to lower the probability of a stall of mysqldump AND most client... · 9fcff33c
      unknown authored
      Try to lower the probability of a stall of mysqldump AND most client connections, when mysqldump does a FLUSH TABLES WITH READ LOCK
      (doing FLUSH TABLES first).
      
      
      client/mysqldump.c:
        try to lower the probability of a stall of mysqldump AND most client connections, when mysqldump does a FLUSH TABLES WITH READ LOCK
        (doing FLUSH TABLES first).
      9fcff33c