From 226cba9fcacef17d776f7704c20f0576679fe04f Mon Sep 17 00:00:00 2001 From: Patrick Allaert Date: Wed, 26 Oct 2011 09:32:37 +0000 Subject: [PATCH] Added test for #60104 --- ext/pdo_sqlite/tests/bug60104.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ext/pdo_sqlite/tests/bug60104.phpt diff --git a/ext/pdo_sqlite/tests/bug60104.phpt b/ext/pdo_sqlite/tests/bug60104.phpt new file mode 100644 index 0000000000..fd36b57b76 --- /dev/null +++ b/ext/pdo_sqlite/tests/bug60104.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction()) +--SKIPIF-- + +--FILE-- +sqliteCreateFunction( "md5", "md5", 1 ); + unset( $handler ); +} + +setUp(); +setUp(); +echo "done"; +?> +--EXPECTF-- +done -- 2.50.1