lp:mysqlatfacebook/51

Created by Mark Callaghan and last modified

This is out of date repo, current Facebook MySQL code lives at:
https://github.com/facebook/mysql-5.1

And 5.6 at:
https://github.com/facebook/mysql-5.6

Get this branch:
bzr branch lp:mysqlatfacebook/51
Members of MySQLAtFacebook can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
MySQLAtFacebook
Project:
MySQLAtFacebook
Status:
Experimental

Recent revisions

3875. By Mark Callaghan

Backport faster DROP TABLE using these revisions: r3644 r3768
Added more tests: innodb_drop_table_flush, innodb_drop_table_ibuf
innodb_drop_table_purge, innodb_dropper, innodb_dropper_big

3874. By Mark Callaghan

fix tests

3873. By Mark Callaghan

Our MySQL-5.1 now builds both ways with zero warnings in gcc4.

Added blind_fwrite to call for fwrites where mysql apparently
doesn't care about actual success or failure of fwrite().

Added DBUG_ONLY define to __attribute__ debug-only vars as
((unused)) in non-debug compiles to avoid gcc unused warnings.

Ported DBUG_ABORT from 5.6 (trivial).

Corrected all of the gcc warnings from upstream MySQL source.

Also found a shadowed "size" variable in fil0fil.c, which
blocked an intended data flow. This diff fixes that.

The author of both diffs with these "size" variables was Vamsi,
and he's confirmed this fix should be correct.

3872. By Mark Callaghan

parse_db_and_table should use "#P#" to separate the partition name

We use "#" to separate partition name but Steaphan found there are other table
name can contain "#". We should use the full name "#P#" instead.

3871. By Mark Callaghan

Make results deterministic (I hope) for admission_control_reenter.test

3870. By Mark Callaghan

Fix bug #57700 Latching order violation in row_truncate_table_for_mysql().
To see the fix from official MySQL -- bzr log -p -r 3351.14.279

3869. By Mark Callaghan

Clean up some table_stats tests.

Removed some trailing whitespace, and other whitespace cleanups.
Added missing show_table_stats_heap option file (to use heap).
Don't display other engines when testing one of them.
These oddities were found while porting table stats to 5.6.

3868. By Mark Callaghan

Add option to prevent reads and writes to tables that are not in current database

allow_noncurrent_db_rw
  ON = Allow read and write to tables not in current database
  LOG = Allow read and write to tables that are not in current database, but log it
        in the database error log. CROSS_SHARD_QUERY: is written prior to the SQL.
  LOG_WARN = The same as LOG, but also send a warning to client
  OFF = Disallow read and write tables that are not in current datbase, and send an error to client

3867. By Mark Callaghan

Correct inconsistent output of queries_used test.

This test listed multiple stats entries without "order by".
This occasionally produced inconsistent results.

3866. By Mark Callaghan

io_perf_doublewrite.read_blob is not initialized properly
Summary: Missing a my_io_perf_init(&io_perf_doublewrite.read_blob)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.