~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_db.cc

  • Committer: Monty Taylor
  • Date: 2008-10-02 20:45:51 UTC
  • mfrom: (413.2.3 drizzle)
  • Revision ID: monty@inaugust.com-20081002204551-gousb6hhqlr6q1br
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
631
631
      query_length= thd->query_length;
632
632
    }
633
633
 
634
 
    ha_binlog_log_query(thd, 0, LOGCOM_CREATE_DB,
635
 
                        query, query_length,
636
 
                        db, "");
637
 
 
638
634
    if (mysql_bin_log.is_open())
639
635
    {
640
636
      Query_log_event qinfo(thd, query, query_length, 0, 
718
714
    thd->variables.collation_database= thd->db_charset;
719
715
  }
720
716
 
721
 
  ha_binlog_log_query(thd, 0, LOGCOM_ALTER_DB,
722
 
                      thd->query, thd->query_length,
723
 
                      db, "");
724
 
 
725
717
  if (mysql_bin_log.is_open())
726
718
  {
727
719
    Query_log_event qinfo(thd, thd->query, thd->query_length, 0,