@abaplint/transpiler 2.13.89 → 2.13.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/src/db/index.js
CHANGED
|
@@ -53,7 +53,14 @@ class DatabaseSetup {
|
|
|
53
53
|
return {
|
|
54
54
|
schemas: {
|
|
55
55
|
sqlite: this.driver(new sqlite_database_schema_1.SQLiteDatabaseSchema(this.reg)),
|
|
56
|
-
|
|
56
|
+
// HANA takes the PG schema unchanged -- measured against HANA Express
|
|
57
|
+
// on a tree of 77 tables. The one thing it needs is that identifiers
|
|
58
|
+
// reach it quoted in UPPER case, and that is not a dialect of DDL: the
|
|
59
|
+
// same rule applies to every statement, so @abaplint/database-hdb
|
|
60
|
+
// folds them on the way out rather than a second generator doing it
|
|
61
|
+
// here. (Unquoted would nearly work and then meet a column called
|
|
62
|
+
// `cross`, which is one of HANA's reserved words.)
|
|
63
|
+
hdb: this.driver(new pg_database_schema_1.PGDatabaseSchema(this.reg)),
|
|
57
64
|
pg: this.driver(new pg_database_schema_1.PGDatabaseSchema(this.reg)),
|
|
58
65
|
snowflake: this.driver(new snowflake_database_schema_1.SnowflakeDatabaseSchema(this.reg)),
|
|
59
66
|
},
|
|
@@ -65,7 +65,7 @@ class PopulateTables {
|
|
|
65
65
|
if (raw === undefined) {
|
|
66
66
|
return "";
|
|
67
67
|
}
|
|
68
|
-
return `INSERT INTO reposrc (
|
|
68
|
+
return `INSERT INTO reposrc (progname, data) VALUES ('${name.padEnd(40, " ")}', '${this.escape(raw)}');`;
|
|
69
69
|
}
|
|
70
70
|
insertT100(msag) {
|
|
71
71
|
// ignore if T100 is unknown
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.90",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abaplint/core": "^2.120.
|
|
32
|
+
"@abaplint/core": "^2.120.56",
|
|
33
33
|
"source-map": "^0.8.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|