File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -447,6 +447,7 @@ public function testBuilderCreateFunction()
447447 'CREATE DEFINER=`root`@`localhost` '
448448 . ' FUNCTION `inventory_in_stock`(`p_inventory_id` INT) RETURNS tinyint(1) '
449449 . ' READS SQL DATA ' . "\n"
450+ . ' COMMENT \'My best function written by a friend \'\'s friend ' . "\n"
450451 . 'BEGIN ' . "\n"
451452 . ' DECLARE v_rentals INT; ' . "\n"
452453 . ' DECLARE v_out INT; ' . "\n"
@@ -482,6 +483,7 @@ public function testBuilderCreateFunction()
482483 'CREATE DEFINER=`root`@`localhost` '
483484 . ' FUNCTION `inventory_in_stock` (`p_inventory_id` INT) RETURNS TINYINT(1) '
484485 . ' READS SQL DATA ' . "\n"
486+ . ' COMMENT \'My best function written by a friend \'\'s friend ' . "\n"
485487 . 'BEGIN ' . "\n"
486488 . ' DECLARE v_rentals INT; ' . "\n"
487489 . ' DECLARE v_out INT; ' . "\n"
@@ -536,6 +538,7 @@ public function testBuilderCreateFunction()
536538
537539 $ this ->assertSame (
538540 'READS SQL DATA ' . "\n"
541+ . ' COMMENT \'My best function written by a friend \'\'s friend ' . "\n"
539542 . 'BEGIN ' . "\n"
540543 . ' DECLARE v_rentals INT; ' . "\n"
541544 . ' DECLARE v_out INT; ' . "\n"
You can’t perform that action at this time.
0 commit comments