1. 06 Jul, 2006 1 commit
  2. 05 Jul, 2006 1 commit
  3. 04 Jul, 2006 2 commits
    • kroki@mysql.com's avatar
      Merge mysql.com:/home/tomash/src/mysql_ab/mysql-5.0 · 821b540f
      kroki@mysql.com authored
      into  mysql.com:/home/tomash/src/mysql_ab/mysql-5.0-bug20570
      821b540f
    • konstantin@mysql.com's avatar
      A fix and a test case for Bug#17843 "Certain stored procedures fail to · b99e11c8
      konstantin@mysql.com authored
      run at startup"
      
      The server returned an error when trying to execute init-file with a 
      stored procedure that could return multiple result sets to the client. 
      A stored procedure can return multiple result sets if it contains 
      PREPARE, SELECT, SHOW and similar statements.
         
      The fix is to set client_capabilites|=CLIENT_MULTI_RESULTS in
      sql_parse.cc:handle_bootstrap(). There is no "client" really, so 
      nothing is ever sent. This makes init-file feature behave consistently: 
      the prepared statements that can be called directly in the init-file 
      can be used in a stored procedure too.
      
      Re-committed the patch originally submitted by Per-Erik after review.
      b99e11c8
  4. 03 Jul, 2006 2 commits
  5. 02 Jul, 2006 1 commit
  6. 01 Jul, 2006 4 commits
    • dlenev@mysql.com's avatar
      Fix for bug#18437 "Wrong values inserted with a before update trigger on · d4450e66
      dlenev@mysql.com authored
      NDB table".
      
      SQL-layer was not marking fields which were used in triggers as such. As
      result these fields were not always properly retrieved/stored by handler
      layer. So one might got wrong values or lost changes in triggers for NDB,
      Federated and possibly InnoDB tables.
      This fix solves the problem by marking fields used in triggers
      appropriately.
      
      Also this patch contains the following cleanup of ha_ndbcluster code:
      
      We no longer rely on reading LEX::sql_command value in handler in order
      to determine if we can enable optimization which allows us to handle REPLACE
      statement in more efficient way by doing replaces directly in write_row()
      method without reporting error to SQL-layer.
      Instead we rely on SQL-layer informing us whether this optimization
      applicable by calling handler::extra() method with
      HA_EXTRA_WRITE_CAN_REPLACE flag.
      As result we no longer apply this optimzation in cases when it should not
      be used (e.g. if we have on delete triggers on table) and use in some
      additional cases when it is applicable (e.g. for LOAD DATA REPLACE).
      
      Finally this patch includes fix for bug#20728 "REPLACE does not work
      correctly for NDB table with PK and unique index".
        
      This was yet another problem which was caused by improper field mark-up.
      During row replacement fields which weren't explicity used in REPLACE
      statement were not marked as fields to be saved (updated) so they have
      retained values from old row version. The fix is to mark all table
      fields as set for REPLACE statement. Note that in 5.1 we already solve
      this problem by notifying handler that it should save values from all
      fields only in case when real replacement happens.
      d4450e66
    • konstantin@mysql.com's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 1c4dffc8
      konstantin@mysql.com authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime
      1c4dffc8
    • sergefp@mysql.com's avatar
      Post-merge fix · 775ec4fb
      sergefp@mysql.com authored
      775ec4fb
    • sergefp@mysql.com's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · f8636852
      sergefp@mysql.com authored
      into  mysql.com:/home/psergey/mysql-5.0-bug16168-merge
      f8636852
  7. 30 Jun, 2006 25 commits
  8. 29 Jun, 2006 4 commits