skip SQLite on CI

This commit is contained in:
SPRINX0\prochazka
2024-09-20 10:41:31 +02:00
parent 48d4374346
commit 780d187911
2 changed files with 6 additions and 5 deletions

View File

@@ -118,6 +118,7 @@ const engines = [
engine: 'sqlite@dbgate-plugin-sqlite',
},
objects: [views],
skipOnCI: true,
},
{
label: 'CockroachDB',
@@ -164,9 +165,9 @@ const filterLocal = [
// filter local testing
'-MySQL',
'-MariaDB',
'PostgreSQL',
'-PostgreSQL',
'-SQL Server',
'-SQLite',
'SQLite',
'-CockroachDB',
'-ClickHouse',
];

View File

@@ -26,8 +26,8 @@ async function waitForDrain(stream) {
});
}
function runStreamItem(client, sql, options, rowCounter) {
const stmt = client.prepare(sql);
function runStreamItem(dbhan, sql, options, rowCounter) {
const stmt = dbhan.client.prepare(sql);
if (stmt.reader) {
const columns = stmt.columns();
// const rows = stmt.all();
@@ -101,7 +101,7 @@ const driver = {
const inTransaction = dbhan.client.transaction(() => {
for (const sqlItem of sqlSplitted) {
runStreamItem(dbhan.client, sqlItem, options, rowCounter);
runStreamItem(dbhan, sqlItem, options, rowCounter);
}
if (rowCounter.date) {