Transaction statement cannot include create database?

(Fangbox) #1

Hi,
When I create a database in a transaction statement, the following error occurred:

CREATE DATABASE IF NOT EXISTS test, err:schema change statement cannot follow a statement that has written in the same transaction: transaction anchor key already set

Is this a bug or a specification constraint?

Thanks.

0 Likes

(Tim O'Brien) #2

@Bobo it depends on the contents of the transaction. Can you post it in its entirety?

0 Likes