~ubuntu-branches/ubuntu/saucy/mysql-5.5/saucy-security

« back to all changes in this revision

Viewing changes to sql/rpl_filter.cc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-07-23 08:51:03 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130723085103-6ug6qhdf2fi2nu50
Tags: 5.5.32-0ubuntu1
* SECURITY UPDATE: Update to 5.5.32 to fix security issues (LP: #1203828)
  - http://www.oracle.com/technetwork/topics/security/cpujuly2013-1899826.html
  - CVE-2013-1861
  - CVE-2013-3783
  - CVE-2013-3793
  - CVE-2013-3802
  - CVE-2013-3804
  - CVE-2013-3809
  - CVE-2013-3812
* SECURITY UPDATE: insecure creation of debian.cnf file
  - debian/mysql-server-5.5.postinst: set umask to 066 before creating
    debian.cnf.
  - CVE-2013-2162
* Fix FTBFS from test suite failure
  - debian/patches/72_fix_rpl_deadlock_innodb_test.patch: ignore warning
    from rpl.rpl_deadlock_innodb test in mysql-test/include/mtr_warnings.sql.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
    DBUG_RETURN(1); // Ok to replicate if the user puts no constraints
155
155
 
156
156
  /*
157
 
    If the user has specified restrictions on which databases to replicate
158
 
    and db was not selected, do not replicate.
 
157
    Previous behaviour "if the user has specified restrictions on which
 
158
    databases to replicate and db was not selected, do not replicate" has
 
159
    been replaced with "do replicate".
 
160
    Since the filtering criteria is not equal to "NULL" the statement should
 
161
    be logged into binlog.
159
162
  */
160
163
  if (!db)
161
 
    DBUG_RETURN(0);
 
164
    DBUG_RETURN(1);
162
165
 
163
166
  if (!do_db.is_empty()) // if the do's are not empty
164
167
  {