347
347
# Test coverage with edge conditions
349
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
352
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
354
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
352
355
select tan(1, 2);
357
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
354
358
select makedate(1);
359
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
355
360
select makedate(1, 2, 3);
362
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
364
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
358
365
select atan2(1, 2, 3);
367
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
361
369
select concat("foo");
371
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
363
372
select concat_ws();
373
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
364
374
select concat_ws("foo");
376
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
378
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
381
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
369
382
select export_set();
383
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
370
384
select export_set("p1");
385
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
371
386
select export_set("p1", "p2");
387
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
372
388
select export_set("p1", "p2", "p3", "p4", "p5", "p6");
390
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
392
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
375
393
select field("p1");
395
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
377
396
select from_unixtime();
397
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
378
398
select from_unixtime(1, 2, 3);
400
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
380
401
select unix_timestamp(1, 2);
403
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
382
404
select greatest();
405
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
383
406
select greatest(12);
408
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
385
409
select last_insert_id(1, 2);
411
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
413
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
388
414
select least(12);
416
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
418
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
391
419
select locate(1);
420
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
392
421
select locate(1, 2, 3, 4);
423
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
425
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
395
426
select log(1, 2, 3);
428
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
397
429
select make_set();
430
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
398
431
select make_set(1);
433
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
400
434
select rand(1, 2, 3);
436
-- error ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT
402
437
select round(1, 2, 3);