mg-dbx 2.4.27-a → 2.4.27-c
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/README.md +15 -3
- package/bin/winx64/mg-dbx-napi.node +0 -0
- package/bin/winx64/node18/mg-dbx.node +0 -0
- package/bin/winx64/node19/mg-dbx.node +0 -0
- package/bin/winx64/node20/mg-dbx.node +0 -0
- package/package.json +1 -1
- package/src/mg-class.cpp +1 -1
- package/src/mg-class.h +1 -1
- package/src/mg-cursor.cpp +1 -1
- package/src/mg-cursor.h +1 -1
- package/src/mg-dbx.cpp +8 -1
- package/src/mg-dbx.h +1 -1
- package/src/mg-global.cpp +1 -1
- package/src/mg-global.h +1 -1
- package/src/mg-net.cpp +1 -1
- package/src/mg-net.h +1 -1
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
High speed Synchronous and Asynchronous access to InterSystems Cache/IRIS and YottaDB from Node.js.
|
|
4
4
|
|
|
5
5
|
Chris Munt <cmunt@mgateway.com>
|
|
6
|
-
|
|
6
|
+
3 May 2023, M/Gateway Developments Ltd [http://www.mgateway.com](http://www.mgateway.com)
|
|
7
7
|
|
|
8
|
-
* Verified to work with Node.js v8 to
|
|
8
|
+
* Verified to work with Node.js v8 to v20.
|
|
9
9
|
* Two connectivity models to the InterSystems or YottaDB database are provided: High performance via the local database API or network based.
|
|
10
10
|
* [Release Notes](#RelNotes) can be found at the end of this document.
|
|
11
11
|
|
|
@@ -61,6 +61,9 @@ Assuming that Node.js is already installed and a C++ compiler is available to th
|
|
|
61
61
|
|
|
62
62
|
This command will create the **mg-dbx** addon (*mg-dbx.node*).
|
|
63
63
|
|
|
64
|
+
### Enabling the API for InterSystems IRIS and Cache
|
|
65
|
+
|
|
66
|
+
Before connecting to a local (relative to Node.js) InterSystems database via its API, check that the InterSystems ***'Callin API'*** is enabled. From the InterSystems Database Management Portal select ***System Administration***; then ***Security***; then ***Services***. Look for the row containing ***%Service_Callin*** and check that it is ***Enabled***. Edit the row and mark this service as ***Enabled*** if necessary.
|
|
64
67
|
|
|
65
68
|
### Installing the M support routines (also known as the DB Superserver)
|
|
66
69
|
|
|
@@ -70,6 +73,8 @@ The M support routines are required for:
|
|
|
70
73
|
* Direct access to SQL (either via the API or via the network).
|
|
71
74
|
* The Merge command under YottaDB (either via the API or via the network).
|
|
72
75
|
|
|
76
|
+
If none of the above apply you do not need to install these routines - proceed to [Connecting to the database](#Connect).
|
|
77
|
+
|
|
73
78
|
Two M routines need to be installed (%zmgsi and %zmgsis). These can be found in the *Service Integration Gateway* (**mgsi**) GitHub source code repository ([https://github.com/chrisemunt/mgsi](https://github.com/chrisemunt/mgsi)). Note that it is not necessary to install the whole *Service Integration Gateway*, just the two M routines held in that repository.
|
|
74
79
|
|
|
75
80
|
#### Installation for InterSystems Cache/IRIS
|
|
@@ -1021,7 +1026,7 @@ Logging can be switched off by calling the **setloglevel** function without spec
|
|
|
1021
1026
|
|
|
1022
1027
|
## <a name="License"></a> License
|
|
1023
1028
|
|
|
1024
|
-
Copyright (c) 2018-
|
|
1029
|
+
Copyright (c) 2018-2023 M/Gateway Developments Ltd,
|
|
1025
1030
|
Surrey UK.
|
|
1026
1031
|
All rights reserved.
|
|
1027
1032
|
|
|
@@ -1207,3 +1212,10 @@ Unless required by applicable law or agreed to in writing, software distributed
|
|
|
1207
1212
|
|
|
1208
1213
|
* Verify that **mg-dbx** will build and work with Node.js v18.x.x.
|
|
1209
1214
|
|
|
1215
|
+
### v2.4.27b (4 November 2022)
|
|
1216
|
+
|
|
1217
|
+
* Verify that **mg-dbx** will build and work with Node.js v19.x.x.
|
|
1218
|
+
|
|
1219
|
+
### v2.4.27c (3 May 2023)
|
|
1220
|
+
|
|
1221
|
+
* Verify that **mg-dbx** will build and work with Node.js v20.x.x.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Chris Munt <cmunt@mgateway.com> (http://www.gateway.com/)",
|
|
3
3
|
"name": "mg-dbx",
|
|
4
4
|
"description": "High speed Synchronous and Asynchronous access to InterSystems Cache/IRIS and YottaDB from Node.js.",
|
|
5
|
-
"version": "2.4.
|
|
5
|
+
"version": "2.4.27c",
|
|
6
6
|
"maintainers": "Chris Munt <cmunt@mgateway.com>",
|
|
7
7
|
"homepage": "https://github.com/chrisemunt/mg-dbx",
|
|
8
8
|
"repository": {
|
package/src/mg-class.cpp
CHANGED
package/src/mg-class.h
CHANGED
package/src/mg-cursor.cpp
CHANGED
package/src/mg-cursor.h
CHANGED
package/src/mg-dbx.cpp
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
| mg-dbx.node |
|
|
4
4
|
| Author: Chris Munt cmunt@mgateway.com |
|
|
5
5
|
| chris.e.munt@gmail.com |
|
|
6
|
-
| Copyright (c) 2016-
|
|
6
|
+
| Copyright (c) 2016-2023 M/Gateway Developments Ltd, |
|
|
7
7
|
| Surrey UK. |
|
|
8
8
|
| All rights reserved. |
|
|
9
9
|
| |
|
|
@@ -165,6 +165,12 @@ Version 2.4.27 20 October 2021:
|
|
|
165
165
|
Version 2.4.27a 25 April 2022:
|
|
166
166
|
Verify that mg-dbx will build and work with Node.js v18.x.x. (ABI: 108).
|
|
167
167
|
|
|
168
|
+
Version 2.4.27b 4 November 2022:
|
|
169
|
+
Verify that mg-dbx will build and work with Node.js v19.x.x. (ABI: 111).
|
|
170
|
+
|
|
171
|
+
Version 2.4.27c 3 May 2023:
|
|
172
|
+
Verify that mg-dbx will build and work with Node.js v20.x.x. (ABI: 115).
|
|
173
|
+
|
|
168
174
|
*/
|
|
169
175
|
|
|
170
176
|
|
|
@@ -7210,6 +7216,7 @@ __try {
|
|
|
7210
7216
|
|
|
7211
7217
|
if (pcon->p_isc_so->loaded) {
|
|
7212
7218
|
/* pcon->p_isc_so->p_CacheEnd(); */
|
|
7219
|
+
pcon->p_isc_so->p_CacheEnd();
|
|
7213
7220
|
dbx_dso_unload(pcon->p_isc_so->p_library);
|
|
7214
7221
|
pcon->p_isc_so->p_library = NULL;
|
|
7215
7222
|
pcon->p_isc_so->loaded = 0;
|
package/src/mg-dbx.h
CHANGED
package/src/mg-global.cpp
CHANGED
package/src/mg-global.h
CHANGED
package/src/mg-net.cpp
CHANGED
package/src/mg-net.h
CHANGED