Skip to content

Commit

Permalink
Fix Sqlite pdo segmentfault (#5311)
Browse files Browse the repository at this point in the history
* fix pdo

* fix sqlite error

* fix sqlite error

* fix sqlite error
  • Loading branch information
NathanFreeman authored May 6, 2024
1 parent bd28829 commit 0932447
Show file tree
Hide file tree
Showing 9 changed files with 2,296 additions and 1,042 deletions.
4 changes: 3 additions & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,9 @@ EOF
thirdparty/php80/pdo_sqlite/sqlite_driver.c \
thirdparty/php80/pdo_sqlite/sqlite_statement.c \
thirdparty/php81/pdo_sqlite/sqlite_driver.c \
thirdparty/php81/pdo_sqlite/sqlite_statement.c"
thirdparty/php81/pdo_sqlite/sqlite_statement.c \
thirdparty/php83/pdo_sqlite/sqlite_driver.c \
thirdparty/php83/pdo_sqlite/sqlite_statement.c"
fi

SW_ASM_DIR="thirdparty/boost/asm/"
Expand Down
1 change: 0 additions & 1 deletion tests/swoole_pdo_sqlite/pdo_sqlite_createaggregate.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ run(function() {

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


foreach ($db->query('SELECT testing(name) FROM foobar') as $row) {
var_dump($row);
}
Expand Down
Loading

0 comments on commit 0932447

Please sign in to comment.