aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTschaen, Brendan <ctschaen@att.com>2019-06-21 15:26:17 -0400
committerTschaen, Brendan <ctschaen@att.com>2019-06-21 15:26:17 -0400
commit13441563620ba912e79a71858da64aacb103ce0d (patch)
tree6beafd7714817c4f5cdeed764fe1612f6e453932
parent9e21ff943f11df4c274b29989f5058c8054a9b39 (diff)
Use blob type in translog
Issue-ID: MUSIC-389 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: I970ee2111cf07e9246bed61676d6fd50009a6135
-rwxr-xr-xmdbc-server/src/main/java/org/onap/music/mdbc/mixins/MySQLMixin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdbc-server/src/main/java/org/onap/music/mdbc/mixins/MySQLMixin.java b/mdbc-server/src/main/java/org/onap/music/mdbc/mixins/MySQLMixin.java
index 8f27953..1faf281 100755
--- a/mdbc-server/src/main/java/org/onap/music/mdbc/mixins/MySQLMixin.java
+++ b/mdbc-server/src/main/java/org/onap/music/mdbc/mixins/MySQLMixin.java
@@ -76,7 +76,7 @@ public class MySQLMixin implements DBInterface {
public static final String TRANS_TBL = "MDBC_TRANSLOG";
private static final String CREATE_TBL_SQL =
"CREATE TABLE IF NOT EXISTS "+TRANS_TBL+
- " (IX INT AUTO_INCREMENT, OP CHAR(1), SCHEMANAME VARCHAR(255), TABLENAME VARCHAR(255),KEYDATA VARCHAR(1024), ROWDATA VARCHAR(1024), " +
+ " (IX INT AUTO_INCREMENT, OP CHAR(1), SCHEMANAME VARCHAR(255), TABLENAME VARCHAR(255),KEYDATA VARCHAR(1024), ROWDATA BLOB, " +
"CONNECTION_ID INT, PRIMARY KEY (IX));";
private final MusicInterface mi;