support range select for oracle <12

This commit is contained in:
SPRINX0\prochazka
2024-09-05 13:13:58 +02:00
parent f0f9be3051
commit 880b07a328
6 changed files with 18 additions and 3 deletions

View File

@@ -255,7 +255,7 @@ const driver = {
// const { rows } = await this.query(client, 'SELECT version as "version" FROM v$instance');
const version = await this.getVersionCore(client);
const m = version.match(/(\d+[a-z])\s+(\w+).*(\d+)\.(\d+)/);
const m = version.match(/(\d+[a-z]+)\s+(\w+).*?(\d+)\.(\d+)/);
//console.log('M', m);
let versionText = null;
let versionMajor = null;