Skip to content

Commit 0932447

Browse files
Fix Sqlite pdo segmentfault (#5311)
* fix pdo * fix sqlite error * fix sqlite error * fix sqlite error
1 parent bd28829 commit 0932447

File tree

9 files changed

+2296
-1042
lines changed

9 files changed

+2296
-1042
lines changed

config.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,9 @@ EOF
10751075
thirdparty/php80/pdo_sqlite/sqlite_driver.c \
10761076
thirdparty/php80/pdo_sqlite/sqlite_statement.c \
10771077
thirdparty/php81/pdo_sqlite/sqlite_driver.c \
1078-
thirdparty/php81/pdo_sqlite/sqlite_statement.c"
1078+
thirdparty/php81/pdo_sqlite/sqlite_statement.c \
1079+
thirdparty/php83/pdo_sqlite/sqlite_driver.c \
1080+
thirdparty/php83/pdo_sqlite/sqlite_statement.c"
10791081
fi
10801082

10811083
SW_ASM_DIR="thirdparty/boost/asm/"

tests/swoole_pdo_sqlite/pdo_sqlite_createaggregate.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ run(function() {
2222

2323
$db->sqliteCreateAggregate('testing', function(&$a, $b) { $a .= $b; return $a; }, function(&$v) { return $v; });
2424

25-
2625
foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
2726
var_dump($row);
2827
}

0 commit comments

Comments
 (0)