Update database.php

This commit is contained in:
Namhyeon Go 2020-01-09 17:25:32 +09:00 committed by GitHub
parent 065f528a1f
commit 5cf9234791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,10 @@ if(!check_function_exists("get_bind_to_sql_insert")) {
$setduplicate = get_array(get_value_in_array("setduplicate", $options, false));
$setnotwhere = get_array(get_value_in_array("setnotwhere", $options, false));
// `ignore` is alias of `setnotwhere`
$ignore = get_array(get_value_in_array("ignore", $options, false));
$setnotwhere = array_merge($setnotwhere, $ignore);
// get number of duplicated rows
$num_duplicates = 0;
$_bind_T = array();