mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Ensure that all four callbacks are provided when registering a window function
(otherwise SQLITE_MISUSE is returned). FossilOrigin-Name: 5720dcd8b111b1f8712c8fb4b441ccb129e838db8c26a6e9e0f095dc6a851f6b
This commit is contained in:
@ -50,6 +50,10 @@ proc w_value {ctx} {
|
||||
sqlite3_create_window_function db median m_step m_value m_value m_inverse
|
||||
sqlite3_create_window_function db win m_step w_value w_value m_inverse
|
||||
|
||||
do_test 0.0 {
|
||||
test_create_window_function_misuse db
|
||||
} {}
|
||||
|
||||
do_execsql_test 1.0 {
|
||||
CREATE TABLE t1(a, b);
|
||||
INSERT INTO t1 VALUES(4, 'a');
|
||||
|
Reference in New Issue
Block a user