1. 19 Dec, 2007 7 commits
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/28317-5.1 · 5473858b
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      
      sql/sql_yacc.yy:
        Auto merged
      5473858b
    • unknown's avatar
      Bug#28317 Left Outer Join with {oj outer-join} · 660e91b1
      unknown authored
      Parser rejects ODBC's escape sequences for outer joins other
      than left outer join, yet the escape sequence BNF specifies
      that this syntax can be used for left, right, and full outer
      join syntax.
      
      The problem is that although the MySQL Connector/ODBC advertises
      "Outer Join Escape Sequence" capabilities, the parsing is done
      in the server and historically it only supported this syntax
      for left outer joins and applications such as Crystal Reports
      11 tries to use this syntax for inner joins.
      
      The chosen solution is to reorganize a couple of parser rules
      to ignore any kind of SQL escape sequence. Ignoring the escape
      sequences is harmless because the various SQL join clauses
      are supported by the server.
      
      
      mysql-test/r/parser.result:
        Add test case result for Bug#28317
      mysql-test/t/parser.test:
        Add test case for Bug#28317
      sql/sql_yacc.yy:
        Reorganize rules in order to ignore SQL Escape Sequences
      660e91b1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 62e111e6
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      sql/sql_table.cc:
        Auto merged
      62e111e6
    • unknown's avatar
      Make handler::{write,delete,update}_row private. It's critical · 226700ee
      unknown authored
      that the entire server uses their public ha_* counterparts instead,
      since only then we can ensure proper tracing of these calls that
      is necessary for Bug#12713.
      A pre-requisite for Bug#12713 "Error in a stored function called from 
      a SELECT doesn't cause ROLLBACK of statem"
      
      
      sql/ha_partition.cc:
        Use ha_write_row, ha_update_row, ha_delete_row instead of now-private
        write_row, update_row, delete_row. 
        In future ha_* calls will contain more than just a call to the binary
        log, so it's essential they are used consistently everywhere in the server.
        
        Disable the undesired effect of double binary logging of changes
        to partitioned tables with tmp_disable_binlog.
      sql/handler.h:
        Make write_row, update_row, delete_row private. It's critical
        that the entire code base uses ha_write_row, ha_update_row, ha_delete_row
        instead -- in future, ha_* counterparts will have more common
        functionality than just a call to the binary log.
      sql/sql_select.cc:
        Use ha_write_row, ha_update_row, ha_delete_row instead of
        write_row, update_row, delete_row respectively. 
        The change affects the join execution code that works with an
        intermediate internal temporary table. Do not disable binary logging,
        since it's unnecessary - temporary tables are not replicated
        by row level replication.
      sql/sql_table.cc:
        Use ha_write_row in copy_data_between_tables - the function
        that writes data from the original table to a temporary copy
        when executing ALTER TABLE. Do not disable binary logging
        since temporary tables are not replicated by row level 
        replication anyway.
      226700ee
    • unknown's avatar
      SHOW_VAR arrays are null-terminated :-[] · 25fa7692
      unknown authored
      25fa7692
    • unknown's avatar
      Followup for bug#30252. · 604b3982
      unknown authored
      Ensure that all SQLCOM_ constants have corresponding Com_ variables.
      
      
      mysql-test/r/status.result:
        Tests updated.
      sql/mysqld.cc:
        Followup for bug#30252.
        Rename few variables to match SQL syntax.
        Ensure that all SQLCOM_ constants have corresponding Com_ variables.
      604b3982
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 881b405d
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      881b405d
  2. 18 Dec, 2007 4 commits
  3. 17 Dec, 2007 1 commit
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 99a5f6e9
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      99a5f6e9
  4. 15 Dec, 2007 5 commits
  5. 14 Dec, 2007 12 commits
  6. 13 Dec, 2007 11 commits