1. 28 Feb, 2006 1 commit
    • bar@mysql.com's avatar
      Bug#16313 XML: extractvalue() ignores '!' in names · bcc72ad0
      bar@mysql.com authored
      xml.result, xml.test:
        Adding test case.
      item_xmlfunc.cc:
        Fixed that the "!" character written at the end was ignored.
      
        Now if we try to scan "!=", and if "!" is not
        followed by "=", we rollback lex scanner back 
        to "!" token, so the parser will start to check
        the next rule from the "!" character again.
      
        Previously parser started from the next character,
        which was EOF in the example in xml.test,
        which led to query being successfully parsed,
        instead of producing a syntax error.
      bcc72ad0
  2. 27 Feb, 2006 1 commit
    • bar@mysql.com's avatar
      xml.test: · 1f30b152
      bar@mysql.com authored
      xml.result:
        Adding test for Bug #16312 XML: extractvalue() crash if angle brackets,
        A fix for #16234 fixed this bug automatically.
      1f30b152
  3. 26 Feb, 2006 7 commits
  4. 25 Feb, 2006 9 commits
    • guilhem@mysql.com's avatar
    • guilhem@mysql.com's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · eb468833
      guilhem@mysql.com authored
      into  mysql.com:/home/mysql_src/mysql-5.1-new
      eb468833
    • guilhem@mysql.com's avatar
      WL#2977 and WL#2712 global and session-level variable to set the binlog format (row/statement), · 00717495
      guilhem@mysql.com authored
      and new binlog format called "mixed" (which is statement-based except if only row-based is correct,
      in this cset it means if UDF or UUID is used; more cases could be added in later 5.1 release):
      SET GLOBAL|SESSION BINLOG_FORMAT=row|statement|mixed|default;
      the global default is statement unless cluster is enabled (then it's row) as in 5.1-alpha.
      It's not possible to use SET on this variable if a session is currently in row-based mode and has open temporary tables (because CREATE
      TEMPORARY TABLE was not binlogged so temp table is not known on slave),  or if NDB is enabled (because
      NDB does not support such change on-the-fly, though it will later), of if in a stored function (see below).
      The added tests test the possibility or impossibility to SET, their effects, and the mixed mode,
      including in prepared statements and in stored procedures and functions.
      Caveats:
      a) The mixed mode will not work for stored functions: in mixed mode, a stored function will
      always be binlogged as one call and in a statement-based way (e.g. INSERT VALUES(myfunc()) or SELECT myfunc()).
      b) for the same reason, changing the thread's binlog format inside a stored function is
      refused with an error message.
      c) the same problems apply to triggers; implementing b) for triggers will be done later (will ask
      Dmitri).
      Additionally, as the binlog format is now changeable by each user for his session, I remove the implication
      which was done at startup, where row-based automatically set log-bin-trust-routine-creators to 1
      (not possible anymore as a user can now switch to stmt-based and do nasty things again), and automatically
      set --innodb-locks-unsafe-for-binlog to 1 (was anyway theoretically incorrect as it disabled
      phantom protection).
      Plus fixes for compiler warnings.
      00717495
    • monty@mysql.com's avatar
      Merge mysql.com:/home/my/mysql-5.0 · 1e2e9e28
      monty@mysql.com authored
      into  mysql.com:/home/my/mysql-5.1
      1e2e9e28
    • monty@mysql.com's avatar
      Fixed compiler warnings from gcc 4.0.2: · 54274976
      monty@mysql.com authored
      - Added empty constructors and virtual destructors to many classes and structs
      - Removed some usage of the offsetof() macro to instead use C++ class pointers
      54274976
    • monty@mysql.com's avatar
      a7df038d
    • monty@mysql.com's avatar
      Fixed typo · eff69e73
      monty@mysql.com authored
      eff69e73
    • monty@mysql.com's avatar
    • brian@zim.(none)'s avatar
      Merge zim.(none):/home/brian/mysql/mysql-5.0 · f40705eb
      brian@zim.(none) authored
      into  zim.(none):/home/brian/mysql/dep-5.1
      f40705eb
  5. 24 Feb, 2006 20 commits
  6. 23 Feb, 2006 2 commits