Code

mysql plugin: Use the database instance name for identifying read callbacks.
authorSebastian Harl <sh@teamix.net>
Wed, 1 Aug 2012 07:16:34 +0000 (09:16 +0200)
committerSebastian Harl <sh@teamix.net>
Wed, 1 Aug 2012 07:16:34 +0000 (09:16 +0200)
commit3cc6836b0c1155ce81d50d3dcc295380346b1e1b
treee448d30c403fadb4148102227c3f35e95e620913
parent91f0e886b3f80f5cdfcb0101db27ab90d982e4d3
mysql plugin: Use the database instance name for identifying read callbacks.

The database instance is specified as argument to the <Database> block.
Without this fix, we cannot specify two database blocks without the
(optional!) 'Database' option as this would result in registering two read
callbacks with the name 'mysql'.

Thanks to Johan Bergström for reporting this on IRC!
src/mysql.c