1. 24 Oct, 2005 1 commit
    • unknown's avatar
      Fix for BUG#13095: Cannot create VIEWs in prepared statements · 33d5d4ad
      unknown authored
        - allow CREATE VIEW as well as DROP VIEW to use in prepared statements;
        - fix CREATE VIEW implementation to make it work in prepared statements.
      
      
      mysql-test/r/sp.result:
        Results file for the test case for BUG#13095.
      mysql-test/t/sp.test:
        Test case for BUG#13095.
      sql/sql_lex.h:
        Added a variable to remember start of whole CREATE VIEW statement
        as well as start of its SELECT part.
      sql/sql_prepare.cc:
        Allow CREATE VIEW and DROP VIEW to use in prepared statements.
      sql/sql_view.cc:
        Use stored start of whole CREATE VIEW statement instead of thd->query,
        which differs from the original when prepared statement is executing.
      sql/sql_yacc.yy:
        Remember start of whole CREATE VIEW statement as well as start of its
        SELECT part.
      33d5d4ad
  2. 21 Oct, 2005 14 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · d29ecd5e
      unknown authored
      into  mysql.com:/usr/home/pem/bug13941/mysql-5.0
      
      
      d29ecd5e
    • unknown's avatar
      ctype_utf8.result: · 8ba28aa3
      unknown authored
        After merge fix.
      
      
      mysql-test/r/ctype_utf8.result:
        After merge fix.
      8ba28aa3
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · eddba2ea
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b12371
      
      
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        After merge fix.
      mysql-test/r/show_check.result:
        After merge fix.
      sql/item_strfunc.h:
        After merge fix.
      tests/mysql_client_test.c:
        After merge fix.
      eddba2ea
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 0cd95ca6
      unknown authored
      into  mysql.com:/usr/home/pem/bug13941/mysql-5.0
      
      
      0cd95ca6
    • unknown's avatar
      Merge abarkov@bk-internal:/home/bk/mysql-5.0 · 08ed63ed
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b12371
      
      
      08ed63ed
    • unknown's avatar
      Post-review fix. · d9b0a62e
      unknown authored
      
      sql/sp_head.cc:
        Post-review fix; changed string copying method (+ fixed comment typo and indention).
      d9b0a62e
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · ea077883
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/5.0.14089
      
      
      ea077883
    • unknown's avatar
      Bug#13233 · c9978d8b
      unknown authored
        select distinct char(column) fails with utf8
      ctype_utf8.result, ctype_utf8.test:
        Adding test case
      sql_yacc.yy:
        Adding new syntax.
      item_strfunc.h:
        Fixing wrong max_length calculation.
        Also, adding CHAR(x USING charset),
        for easier migrating from 4.1 to 5.0,
        according to Monty's suggestion.
      
      
      sql/item_strfunc.h:
        Bug#13233
        select distinct char(column) fails with utf8
        Also, adding CHAR(x USING charset),
        for easier migrating from 4.1 to 5.0.
      sql/sql_yacc.yy:
        Adding new syntax.
      mysql-test/t/ctype_utf8.test:
        Adding test case
      mysql-test/r/ctype_utf8.result:
        Adding test case
      c9978d8b
    • unknown's avatar
      fix for bug#14089 FROM list subquery always fails when · 4c872f74
      unknown authored
                        information_schema is current database
        skip the check of I_S tables if table is derived table
      
      
      mysql-test/r/information_schema.result:
        fix for bug#14089 FROM list subquery always fails when 
                          information_schema is current database
          test case
      mysql-test/t/information_schema.test:
        fix for bug#14089 FROM list subquery always fails when 
                          information_schema is current database
          test case
      4c872f74
    • unknown's avatar
      Merge abarkov@bk-internal:/home/bk/mysql-5.0 · c2b83beb
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b12371
      
      
      c2b83beb
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 571d9cdd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      571d9cdd
    • unknown's avatar
      bug#14199 - ndb leak of index opertaions in TC leading to error 288 · 740123a4
      unknown authored
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        New dump for index operation count
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        New dump for index operation count
        Fix leak on index ops
      740123a4
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6e2f09ee
      unknown authored
      into lmy004.:/work/mysql-5.0-bug12595-4
      
      
      6e2f09ee
    • unknown's avatar
      fix for bug #12595 (ESCAPE must be exactly 1 character long) · ccc051cd
      unknown authored
      ESCAPE has length of 1 if specified and sql_mode is NO_BACKSLASH_ESCAPES
      or has length of 0 or 1 in every other situation.
      (approved patch applied on a up-to-date tree re-commit) 
      
      
      mysql-test/r/select.result:
        results of test for bug 12595
      mysql-test/t/select.test:
        test for bug #12595 (ESCAPE must be exactly one character long)
      sql/item_cmpfunc.cc:
        if ESCAPE was in the statement check whether its length is
        different than 1. In NO_BACKSLASH_ESCAPES mode only length of 1 is
        allowed, otherwise the length could be 0 or 1 character (code point
        in the sense of Unicode).
      sql/item_cmpfunc.h:
        pass variable from the parsing stage - whether
        ESCAPE clause was found in the statement
      sql/sql_help.cc:
        pass FALSE for escape_used_in_parsing because we
        want the default mode of no error checking - our internal code.
      sql/sql_lex.cc:
        initialized variable used to transfer information during
        parsing up in the stack when reducing in the grammar
      sql/sql_lex.h:
        new variable used for transfering information when
        reducing in the grammar.
      sql/sql_yacc.yy:
        initialize Lex->escape_used and then use it when reducing.
        This is needed as fix for bug #12595 to distinguish between
        situation where ESCAPE was found and when not because internally
        we may pass a string an empty string and there is no other way
        to find out whether this is correct or not in case of 
        NO_BACKSLASH_ESCAPES mode, which allows only length of 1 if
        ESCAPE is part of the SQL statement.
      ccc051cd
  3. 20 Oct, 2005 8 commits
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 885a0c14
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      885a0c14
    • unknown's avatar
      Fix Bug#14107 (IM test failures on QNX) · a5f2355c
      unknown authored
      (v.2 with post-review fixes)
      
      
      server-tools/instance-manager/instance.cc:
        On QNX one cannot use fork() in multithreaded environment. Therefore we should use QNX's spawn()
      a5f2355c
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 9e23aa11
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      9e23aa11
    • unknown's avatar
      configure.in: · ad731d38
      unknown authored
        Set the version number to 5.0.16
      
      
      configure.in:
        Set the version number to 5.0.16
      ad731d38
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 65ef7cc2
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      65ef7cc2
    • unknown's avatar
      Bug#12371: executing prepared statement fails (illegal mix of collations) · 06164d5d
      unknown authored
      ctype_utf8.test, ctype_utf8.result:
        Adding test case.
      item.h:
      item.cc:
        Adding Item_param::safe_charset_converter
      
      
      sql/item.cc:
         Bug#12371: executing prepared statement fails (illegal mix of collations)
        Adding Item_param::safe_charset_converter
      sql/item.h:
        Adding Item_param::safe_charset_converter
      mysql-test/r/ctype_utf8.result:
        Adding test case.
      mysql-test/t/ctype_utf8.test:
        Adding test case.
      06164d5d
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · b488e987
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      mysys/charset.c:
        Auto merged
      b488e987
    • unknown's avatar
      charset.c: · f4911002
      unknown authored
        Bug#13238 mysqldump and mysqladmin hangs
        Avoid recursion into init_available_charsets.
        Serg's version didn't work for me: I got 
        double mutex locking.
        Pushing this version instead
        (It was approved by Serg anyway)
      
      
      mysys/charset.c:
        Bug#13238 mysqldump and mysqladmin hangs
        Avoid recursion into init_available_charsets.
        Serg's version didn't work for me: I got 
        double mutex locking.
        Pushing this version instead
        (It was approved by Serg anyway)
      f4911002
  4. 19 Oct, 2005 14 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 3d53c870
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/my_manage.c:
        Auto merged
      mysql-test/mysql_test_run_new.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      mysql-test/r/variables.result:
        Resolve conflicts
      mysql-test/t/variables.test:
        Resolve conflicts
      sql/sql_acl.cc:
        Resolve conflicts
      strings/ctype-simple.c:
        Resolve conflicts
      strings/ctype-ucs2.c:
        Resolve conflicts
      3d53c870
    • unknown's avatar
      mysql.spec.sh: · e27cb111
      unknown authored
        Made yaSSL support an option (off by default)
      
      
      support-files/mysql.spec.sh:
        Made yaSSL support an option (off by default)
      e27cb111
    • unknown's avatar
      Merge mysql.com:/home/emurphy/src/bk-innodb/mysql-5.0 · f8bfae6b
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
      
      
      f8bfae6b
    • unknown's avatar
      Merge bk-innodb.mysql.com:/home/bk/mysql-5.0 · 6979c0dd
      unknown authored
      into  mysql.com:/home/emurphy/src/bk-innodb/mysql-5.0
      
      
      innobase/include/rem0rec.h:
        Auto merged
      innobase/include/rem0rec.ic:
        Auto merged
      innobase/row/row0upd.c:
        Auto merged
      6979c0dd
    • unknown's avatar
      Merge mysql.com:/home/alexi/mysql-4.1 · 28421fe8
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-4.1-4375
      
      
      28421fe8
    • unknown's avatar
      BUG#14056 Column prefix index on UTF-8 primary key column causes 'Can't find record..' · 33b4154c
      unknown authored
      Applying InnoDB patch from Jan Lindstrom
      
      
      33b4154c
    • unknown's avatar
      Fix for BUG#4375: Windows specific directories are copied · b59d5656
      unknown authored
       during replication.
       Modified my_dir(). Now this function skips hidden and system
       files which sometimes are created by Windows.
       NOTE. The fix is similar to the previuos one (05 July 2004)
       except for correct setting of the 'attrib' variable value
       (within the previous fix this variable was left uninitialized
       when my_dir() was called with My_flags & MY_WANT_STAT == 0).
      
      
      mysys/my_lib.c:
        Modified my_dir().
         Now this function skips hidden and system files
         which sometimes are created by Windows.
      b59d5656
    • unknown's avatar
      Fixed BUG#13941: replace() string fuction behaves badly inside stored · a7f4882a
      unknown authored
                       procedure
        For some functions returning strings (like "replace" and "ifnull" - where
        val_str() is returning a pointer into one of the parameters) - we ended
        up with a dangling pointer after the new operator destroyed the reuse item
        in the eval function.
        A working, if not very elegant, solution is to simply copy the string in
        such cases.
      
      
      mysql-test/r/sp.result:
        New test case for BUG#13941.
      mysql-test/t/sp.test:
        New test case for BUG#13941.
      sql/sp_head.cc:
        Copy the string when evaluating some string functions (e.g. "replace" and "ifnull")
        to avoid using a dangling pointer.
      a7f4882a
    • unknown's avatar
      A fix and a test case for Bug#13587 "Server crash when SP is created · 33c972e4
      unknown authored
      without database"
      
      
      mysql-test/r/sp-error.result:
        Test results fixed (a test case for Bug#13587)
      mysql-test/t/sp-error.test:
        A test case for Bug#13587 "Server crash when SP is created without 
        database"
      sql/sql_parse.cc:
        - move initialization of lex->sphead->m_db before it's used.
        - cleanup; comment why right now can't be cleaned any more
      33c972e4
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1e7531ea
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug12915-merge
      
      
      1e7531ea
    • unknown's avatar
      Post-merge fixes · c5f9e201
      unknown authored
      c5f9e201
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0c1085ee
      unknown authored
      into  krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test2
      
      
      0c1085ee
    • unknown's avatar
      Changeset: · 75184ffa
      unknown authored
        Changed option text in mysqldump.c
      mysqldump.c:
        Changed text to read "+00:00" as opposed to "UTC" (per what the code does)
      
      
      client/mysqldump.c:
        Changed text to read "+00:00" as opposed to "UTC" (per what the code does)
      75184ffa
    • unknown's avatar
      mysql.spec.sh: · a43ec392
      unknown authored
        Enabled yaSSL
      mysql-test-run.pl:
        Increased test case timeout from 15 min
      
      
      mysql-test/mysql-test-run.pl:
        Increased test case timeout from 15 min
      support-files/mysql.spec.sh:
        Enabled yaSSL
      a43ec392
  5. 18 Oct, 2005 3 commits