mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 22:26:01 +00:00
skip SQLite on CI
This commit is contained in:
@@ -118,6 +118,7 @@ const engines = [
|
|||||||
engine: 'sqlite@dbgate-plugin-sqlite',
|
engine: 'sqlite@dbgate-plugin-sqlite',
|
||||||
},
|
},
|
||||||
objects: [views],
|
objects: [views],
|
||||||
|
skipOnCI: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'CockroachDB',
|
label: 'CockroachDB',
|
||||||
@@ -164,9 +165,9 @@ const filterLocal = [
|
|||||||
// filter local testing
|
// filter local testing
|
||||||
'-MySQL',
|
'-MySQL',
|
||||||
'-MariaDB',
|
'-MariaDB',
|
||||||
'PostgreSQL',
|
'-PostgreSQL',
|
||||||
'-SQL Server',
|
'-SQL Server',
|
||||||
'-SQLite',
|
'SQLite',
|
||||||
'-CockroachDB',
|
'-CockroachDB',
|
||||||
'-ClickHouse',
|
'-ClickHouse',
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ async function waitForDrain(stream) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function runStreamItem(client, sql, options, rowCounter) {
|
function runStreamItem(dbhan, sql, options, rowCounter) {
|
||||||
const stmt = client.prepare(sql);
|
const stmt = dbhan.client.prepare(sql);
|
||||||
if (stmt.reader) {
|
if (stmt.reader) {
|
||||||
const columns = stmt.columns();
|
const columns = stmt.columns();
|
||||||
// const rows = stmt.all();
|
// const rows = stmt.all();
|
||||||
@@ -101,7 +101,7 @@ const driver = {
|
|||||||
|
|
||||||
const inTransaction = dbhan.client.transaction(() => {
|
const inTransaction = dbhan.client.transaction(() => {
|
||||||
for (const sqlItem of sqlSplitted) {
|
for (const sqlItem of sqlSplitted) {
|
||||||
runStreamItem(dbhan.client, sqlItem, options, rowCounter);
|
runStreamItem(dbhan, sqlItem, options, rowCounter);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rowCounter.date) {
|
if (rowCounter.date) {
|
||||||
|
|||||||
Reference in New Issue
Block a user