mysqlloadcsv: bug avec les valeurs de la forme 00+

This commit is contained in:
Jephté Clain 2018-05-31 02:25:49 +04:00
parent a88c24e747
commit 6f1b8b4926
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ function is_null(value) {
return value == null_value
}
function is_integer(value) {
return value ~ /^[0-9]+$/
return value ~ /^(0|[1-9][0-9]*)$/
}
function is_date_dmy(value) {
return value ~ /^[0-9][0-9]\/[0-9][0-9]\/[0-9][0-9]$/