database name not included in RAW_SQL type in transaction_log
Bug #526812 reported by
Joe Daly
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Won't Fix
|
High
|
Jay Pipes |
Bug Description
doing the following
create table a (i int primary key)
results in the following in a Transaction message. If this were to be replicated it would cause a error as no database name is in the sql statement.
replicated message text=transactio
server_id: 1
transaction_id: 41
start_timestamp: 1266979792840979
end_timestamp: 1266979792840991
}
statement {
type: RAW_SQL
start_timestamp: 1266979792840982
end_timestamp: 1266979792840989
sql: "create table a (i int primary key)"
}
To post a comment you must log in.
Yep, absolutely correct. I will work on this one. Slowly, RAW_SQL statements are being removed (and replaced with more specific message subclasses that better describe the statement) but in the meantime, it would be a pretty trivial fix to add in the schema name into the message.
Cheers!
Jay