add our mapping table

This commit is contained in:
DarthArgus
2016-12-26 13:56:45 -06:00
parent 36b35ea790
commit 530b2b470b
3 changed files with 13 additions and 4 deletions
@@ -1149,8 +1149,6 @@ void JavaLibrary::initializeJavaThread()
JNIEnv * env = nullptr;
jint result = (*JNI_CreateJavaVMProc)(&ms_jvm, reinterpret_cast<void**>(&env), &vm_args);
Os::sleep(100);
if (result != 0)
{
FATAL(true, ("Failed to CreateJavaVMProc: %d", result));
@@ -10,6 +10,7 @@
#define PLATFORM_LINUX
#include <cstdio>
#include <inttypes.h>
// ======================================================================
// basic types that we assume to be around
@@ -20,8 +21,8 @@ typedef unsigned long uint32;
typedef signed char int8;
typedef signed short int16;
typedef signed long int32;
typedef signed long long int int64;
typedef unsigned long long int uint64;
typedef int64_t int64;
typedef uint64_t uint64;
typedef float real;
typedef FILE* FILE_HANDLE;
+10
View File
@@ -1 +1,11 @@
CREATE TABLE "ACCOUNT_MAP"
(
"PARENT_ID" NUMBER(38,0) NOT NULL ENABLE,
"CHILD_ID" NUMBER(38,0) NOT NULL ENABLE,
CONSTRAINT "ACCOUNT_MAP_UK1" UNIQUE ("CHILD_ID", "PARENT_ID") USING INDEX (CREATE INDEX "ACCOUNT_MAP_INDEX2" ON "ACCOUNT_MAP" ("CHILD_ID","PARENT_ID")),
CONSTRAINT "ACCOUNT_MAP_UK2" UNIQUE ("CHILD_ID") USING INDEX (CREATE INDEX "ACCOUNT_MAP_INDEX1" ON "ACCOUNT_MAP" ("CHILD_ID")),
CONSTRAINT "ACCOUNT_MAP_FK1" FOREIGN KEY ("PARENT_ID") REFERENCES "ACCOUNTS" ("STATION_ID"),
CONSTRAINT "ACCOUNT_MAP_FK2" FOREIGN KEY ("CHILD_ID") REFERENCES "ACCOUNTS" ("STATION_ID")
);
update version_number set version_number=270, min_version_number=270;