Liquibase没有在MySQL中获取表空间名称

时间:2017-01-27 21:35:19

标签: mysql liquibase tablespace

我正在尝试使用Liquibase在MySql中创建一个表。下面是我使用的语法,但Liquibase根本没有拿起TABLESPACE。

 SELECT LENGTH(msd.msg_srl_num),
  LENGTH(fhd.hdr_srl_num),
  LENGTH(check_sum),
  LENGTH(NVL(SUBSTR(MSG_DATA,INSTR(MSG_DATA, '<PayerAcctType>') + LENGTH(
  '<PayerAcctType>'), INSTR(MSG_DATA, '</PayerAcctType>')       - (INSTR(
  MSG_DATA, '<PayerAcctType>')                                  + LENGTH(
  '<PayerAcctType>'))),' ')) AS account_type,
  LENGTH(NVL(SUBSTR(MSG_DATA,INSTR(MSG_DATA, '<PayerAcctNum>') + LENGTH(
  '<PayerAcctNum>'), INSTR(MSG_DATA, '</PayerAcctNum>')        - (INSTR(
  MSG_DATA, '<PayerAcctNum>')                                  + LENGTH(
  '<PayerAcctNum>'))),' ')) AS ENTITYID,
  ' ' billersrvid,
  LENGTH(NVL(SUBSTR(MSG_DATA,INSTR(MSG_DATA, '<PayerID>') + LENGTH('<PayerID>')
  , INSTR (MSG_DATA, '</PayerID>')                        - (INSTR(MSG_DATA,
  '<PayerID>')                                            + LENGTH('<PayerID>')
  )), ' ' )) AS docnum,
  LENGTH(msd.status),
  LENGTH(FHD.STATUS)
   FROM TBAADM.GD_FHD FHD,
  TBAADM.GD_MSD MSD
  WHERE MSD.BATCH_HDR_SRL_NUM = FHD.HDR_SRL_NUM
  AND MSD.FROM_TMPL_ID        = FHD.FROM_TMPL_ID
  AND MSD.RCRE_USER_ID        = FHD.RCRE_USER_ID
  AND MSD.MODULE_ID           = FHD.MODULE_ID
  AND IN_OUT_FILE_NAME        = parentFileName
  AND msd.rcre_user_id        = userid
  AND msd.from_tmpl_id        =templateid
  AND msd.module_id           = moduleid
  AND FHD.FILE_TYPE           = fileType
  AND FHD.CHECK_SUM           = fileChkSum
  AND MSD.STATUS              = msdStat;

但Liquibase在没有TABLESPACE的情况下发射命令。

CREATE TABLE TEST(ID BIGINT(19)NOT NULL);

我正在使用Liquibase 3.5。我做错了什么?

0 个答案:

没有答案