Skip to content

Commit 508cf1a

Browse files
committed
Commit the latest compiled assets
1 parent cf0e880 commit 508cf1a

File tree

5 files changed

+22
-421
lines changed

5 files changed

+22
-421
lines changed

js/sql-debug.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ apiTemp = stackAlloc(4);
6868
SQLite = {};
6969

7070

71-
/* Represents an prepared statement.
71+
/* Represents a prepared statement.
7272

7373
Prepared statements allow you to have a template sql string,
7474
that you can execute multiple times with different parameters.
@@ -513,8 +513,7 @@ Database = (function() {
513513
throw "Database closed";
514514
}
515515
stack = stackSave();
516-
nextSqlPtr = stackAlloc(sql.length << 2 + 1);
517-
writeStringToMemory(sql, nextSqlPtr);
516+
nextSqlPtr = allocateUTF8OnStack(sql);
518517
pzTail = stackAlloc(4);
519518
results = [];
520519
while (getValue(nextSqlPtr, 'i8') !== NULL) {

js/sql-memory-growth.js

Lines changed: 6 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/sql.js

Lines changed: 6 additions & 138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/worker.sql-debug.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ apiTemp = stackAlloc(4);
6868
SQLite = {};
6969

7070

71-
/* Represents an prepared statement.
71+
/* Represents a prepared statement.
7272

7373
Prepared statements allow you to have a template sql string,
7474
that you can execute multiple times with different parameters.
@@ -513,8 +513,7 @@ Database = (function() {
513513
throw "Database closed";
514514
}
515515
stack = stackSave();
516-
nextSqlPtr = stackAlloc(sql.length << 2 + 1);
517-
writeStringToMemory(sql, nextSqlPtr);
516+
nextSqlPtr = allocateUTF8OnStack(sql);
518517
pzTail = stackAlloc(4);
519518
results = [];
520519
while (getValue(nextSqlPtr, 'i8') !== NULL) {

js/worker.sql.js

Lines changed: 6 additions & 138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)