1. 14 Feb, 2004 1 commit
    • unknown's avatar
      merge · 6826a55b
      unknown authored
      
      sql/item.h:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      6826a55b
  2. 13 Feb, 2004 10 commits
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4ec12a5e
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2592/mysql-4.1
      
      
      4ec12a5e
    • unknown's avatar
      a little optimization in yylex · f05d5c84
      unknown authored
      (case MY_LEX_USER_VARIABLE_DELIMITER for multichar strings)
      and my_mbcharlen
      
      
      include/m_ctype.h:
        a trivial optimization of my_mbcharlen (case !USE_MB)
      sql/sql_lex.cc:
        a little optimization in yylex 
        (case MY_LEX_USER_VARIABLE_DELIMITER for multichar strings)
      f05d5c84
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 4c6344ed
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      configure.in:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      4c6344ed
    • unknown's avatar
      small optimization · e05c2a90
      unknown authored
      e05c2a90
    • unknown's avatar
      my_atof is deleted · 1515c121
      unknown authored
      strtod from mit-threads is restored and cleaned up
      
      
      BitKeeper/deleted/.del-atof.c~d3edf47a9884080:
        Delete: strings/atof.c
      configure.in:
        atod() is no longer used in MySQL
        isinf() now is
      include/m_string.h:
        my_strtod, my_atof
      include/my_global.h:
        my_atof is deleted
        define isinf()
      libmysql/Makefile.shared:
        use internal strtod
      sql/gstream.cc:
        use internal strtod
      sql/init.cc:
        my_atof is deleted
      sql/item.h:
        use internal strtod
      sql/item_func.cc:
        use internal strtod
      sql/item_sum.h:
        use internal strtod
      sql/sql_analyse.cc:
        use internal strtod
      strings/Makefile.am:
        use internal strtod
      strings/ctype-simple.c:
        use internal strtod
      strings/ctype-ucs2.c:
        use internal strtod
      strings/strtod.c:
        cleanup
        stricter input checks (e.g. ".E10" is no longer a number)
        don't return an "inf"
      1515c121
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a3a0d7d
      unknown authored
      into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      9a3a0d7d
    • unknown's avatar
      This line missed in the fix #2208 · 0e5c56be
      unknown authored
      
      sql-common/client.c:
        'virtual' method initialization
      0e5c56be
    • unknown's avatar
      82364214
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · f03296b6
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2211
      
      
      f03296b6
    • unknown's avatar
      Another fix for #2208 · f2adc112
      unknown authored
      previous one had error
      
      
      libmysqld/lib_sql.cc:
        memdup_mysql deleted
      sql/sql_class.h:
        String instead of char*
      sql/sql_parse.cc:
        storing of the rest of the query
      f2adc112
  3. 12 Feb, 2004 13 commits
    • unknown's avatar
      manual merge, bug #2247 · 7e7fec0b
      unknown authored
      
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      tests/client_test.c:
        manual merge
      7e7fec0b
    • unknown's avatar
      fixed mistake after merge in mysql-test/r/mysqldump.result · 8af2da39
      unknown authored
      
      mysql-test/r/mysqldump.result:
        fixed mistake after merge
      8af2da39
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0655f9c6
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2593/mysql-4.1
      
      
      sql/sql_lex.cc:
        Auto merged
      0655f9c6
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 0bc06e9e
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2593/mysql-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      0bc06e9e
    • unknown's avatar
      some optimization in append_identifier (sql/sql_show.cc) · b3bf99ed
      unknown authored
      
      sql/sql_show.cc:
        some optimization in append_identifier
      b3bf99ed
    • unknown's avatar
      make all "artificial" syntax errors to report a place where they take place... · c5bc73e9
      unknown authored
      make all "artificial" syntax errors to report a place where they take place ("...syntax error ... near ...")
      
      
      
      c5bc73e9
    • unknown's avatar
      warning: `link_into_queue' declared inline after being called · 6ea5d81a
      unknown authored
      warning: `unlink_from_queue' declared inline after being called
      let's un-inline them, compiler can usually decide better what should be inlined
      
      
      6ea5d81a
    • unknown's avatar
      PS fixed to be compatible with derived tables (BUG#2641) · fab7113f
      unknown authored
      
      sql/mysql_priv.h:
        description moved to be accessable from sql_class.h
      sql/sql_base.cc:
        put all derived table preparation in temporary memory pull
      sql/sql_class.h:
        close tables to close derived tables before freeing memory pool where they are placed
      sql/sql_prepare.cc:
        now temporary memory pool for prrepared statements registration is oppened in open_and_lock_tables
        thd->current_statement set only for tables preparation, because we do not need memory pool tricks for PS executing
      tests/client_test.c:
        derived table added to test
        expression with aggregate functions added to test
      fab7113f
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4679b0e3
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.1438
      
      
      4679b0e3
    • unknown's avatar
      Fix for #1438 (mysql_info always returns 0) · eea7cbfb
      unknown authored
      
      libmysqld/lib_sql.cc:
        mysql.info set to the right value
      eea7cbfb
    • unknown's avatar
      Bug#2703 · 1e8dcbe0
      unknown authored
      "MySQL server does not detect if garbage chara at the end of query"
      
      Allow the parser to see the garbage characters.
      Garbage should cause the parser to report an error.
      
      
      sql/sql_lex.cc:
        Return END_OF_INPUT when at the end of the input buffer.
        Allows the parser to determine if there is junk after a \0 character.
      sql/sql_parse.cc:
        Undo 1.314.1.1 04/02/11 12:32:42 guilhem@mysql.com
      sql/sql_prepare.cc:
        Undo 1.73 04/02/11 12:32:42 guilhem@mysql.com
      1e8dcbe0
    • unknown's avatar
      merge · 0f0ca5e3
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      0f0ca5e3
    • unknown's avatar
      memory leacks in PS with subqueries fixed (adddition to fix of BUG#2462) · 4b37cf65
      unknown authored
      
      sql/item.h:
        mechanism to keep reference in cache array for row IN
      sql/item_cmpfunc.cc:
        mechanism to keep reference in cache array for row IN
        layout fixed
      sql/item_cmpfunc.h:
        mechanism to keep reference in cache array for row IN
      sql/item_subselect.cc:
        fixed memory pools swapping
        prevented deleting Item_in_optimizer cache in case of row IN subquery
      sql/mysql_priv.h:
        declarations of function moved to be useful in sql_class.h
      sql/sql_base.cc:
        keep fields expanded from '*' in statement memory pool
      sql/sql_class.cc:
        fixed restoring/backup of memory pool and list of items
      sql/sql_class.h:
        memory allocation methods moved to Statement
        memory pool substituting for preparing
      sql/sql_lex.cc:
        ref_pointer_array kept in statement memory
      sql/sql_lex.h:
        reinitialization of UNIT
      sql/sql_prepare.cc:
        memory allocation/swapping fixed
      tests/client_test.c:
        layout fixed
      4b37cf65
  4. 11 Feb, 2004 11 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f2753fe9
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg2248
      
      
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      f2753fe9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7df19a09
      unknown authored
      into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      7df19a09
    • unknown's avatar
      Bug 2701: Function CHARSET() inconsistency · b268952f
      unknown authored
      CONVERT3 was removed, it was for test purposes,
      and rather harmful.
      
      
      b268952f
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 861d3f41
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2208
      
      
      sql/sql_parse.cc:
        Auto merged
      861d3f41
    • unknown's avatar
      Addition to the fix for #2208 · e5c142a4
      unknown authored
      Made code shorter and more correct
      
      
      libmysql/client_settings.h:
        cli_next_result removed
      libmysql/libmysql.c:
        cli_next_result removed
      e5c142a4
    • unknown's avatar
      Manual merge. · 28ac1ba4
      unknown authored
      28ac1ba4
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · e2f0e8f2
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      e2f0e8f2
    • unknown's avatar
      Fix for BUG#2703 · 0aa48dc5
      unknown authored
      "MySQL server does not detect if garbage chars at the end of query":
      
      Detect garbage chars at the end of the query or at the end of a query
      for a prepared statement (which happens if mysql_real_query() or mysql_prepare()
      were called with a too big 'length' parameter (bigger than the real intended
      length of the query: then we receive a query + garbage characters from the
      client). This resulted in garbage chars written into the binlog.
      Now instead the client receives something like:
      'You have an error in your SQL syntax.  Check the manual that corresponds
      to your MySQL server version for the right syntax to use near '!stmt'
      at line 1' i.e. the server is pointing at the weird tail of the query
      (this '!stmt' are the garbage chars sent by the client).
      All tests pass, except mysqldump.test and ctype_utf8.test but they failed
      before the patch.
      
      
      sql/sql_parse.cc:
        Detect garbage chars at the end of the query
        (which happens if mysql_real_query() was called with a too big 'length'
        parameter (bigger than the real intended length of the query: then
        we receive a query + garbage characters from the client).
      sql/sql_prepare.cc:
        Detect garbage chars at the end of the query
        (which happens if mysql_prepare() was called with a too big 'length'
        parameter (bigger than the real intended length of the query: then
        we receive a query + garbage characters from the client).
      tests/client_test.c:
        The change to sql_parse.cc and sql_prepare.cc rightfully gives many
        syntax errors to tests/client_test.c which is full of
        mysql_prepare(mysql, "SHOW TABLES", 100).
        Correcting all these commands.
      0aa48dc5
    • unknown's avatar
      mysqlimport.c, mysqldump.c, mysqlcheck.c, mysql.cc: · 24e3862c
      unknown authored
        No needs to load charset index if the character set is build-in.
      
      
      client/mysql.cc:
        No needs to load charset index if the character set is build-in.
      client/mysqlcheck.c:
        No needs to load charset index if the character set is build-in.
      client/mysqldump.c:
        No needs to load charset index if the character set is build-in.
      client/mysqlimport.c:
        No needs to load charset index if the character set is build-in.
      24e3862c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 662510b9
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg2248
      
      
      662510b9
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · a47488ab
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2208
      
      
      a47488ab
  5. 10 Feb, 2004 5 commits