IHA-S-003: Unable to create query due the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query was
array(5) {
  [0]=>
  array(7) {
    ["file"]=>
    string(38) "/var/www/eo2018/lieto/inc/db_class.inc"
    ["line"]=>
    int(589)
    ["function"]=>
    string(11) "throw_error"
    ["class"]=>
    string(10) "QueryClass"
    ["object"]=>
    object(courseQuery)#5 (25) {
      ["kantalinkki"]=>
      resource(2) of type (mysql link)
      ["taulunimi"]=>
      string(6) "course"
      ["kysely_kentta"]=>
      array(1) {
        ["course.id"]=>
        string(5) "='53'"
      }
      ["kysely"]=>
      resource(3) of type (mysql result)
      ["sqljono"]=>
      string(44) "select *  from course  where  course.id='53'"
      ["lisatty_id"]=>
      NULL
      ["muutos_rivi_lkm"]=>
      NULL
      ["jointaulut"]=>
      NULL
      ["jointehdot"]=>
      NULL
      ["outerjoin_kysely_kentta"]=>
      NULL
      ["outerjointaulut"]=>
      NULL
      ["pakolliset_kentat"]=>
      array(0) {
      }
      ["puuttuvat_kentat"]=>
      NULL
      ["tietue"]=>
      bool(false)
      ["lowlimit"]=>
      NULL
      ["numofrecords"]=>
      NULL
      ["sortorder"]=>
      NULL
      ["ignore_errors"]=>
      bool(false)
      ["show_backtrace"]=>
      bool(true)
      ["last_error"]=>
      string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"
      ["replicate"]=>
      bool(false)
      ["replication_tbl"]=>
      string(7) "tnx_log"
      ["startorder"]=>
      bool(false)
      ["rowsReturned"]=>
      int(0)
      ["field_meta"]=>
      array(13) {
        ["id"]=>
        object(stdClass)#6 (13) {
          ["name"]=>
          string(2) "id"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(1)
          ["primary_key"]=>
          int(1)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(3) "int"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["name"]=>
        object(stdClass)#7 (13) {
          ["name"]=>
          string(4) "name"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(1)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(0)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(6) "string"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["course_type"]=>
        object(stdClass)#8 (13) {
          ["name"]=>
          string(11) "course_type"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(1)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(0)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(6) "string"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["class"]=>
        object(stdClass)#9 (13) {
          ["name"]=>
          string(5) "class"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(1)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(1)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(0)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(6) "string"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["judge"]=>
        object(stdClass)#10 (13) {
          ["name"]=>
          string(5) "judge"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(0)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(6) "string"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["competition_type"]=>
        object(stdClass)#11 (13) {
          ["name"]=>
          string(16) "competition_type"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(1)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(0)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(6) "string"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["standard_time"]=>
        object(stdClass)#12 (13) {
          ["name"]=>
          string(13) "standard_time"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["maximum_time"]=>
        object(stdClass)#13 (13) {
          ["name"]=>
          string(12) "maximum_time"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["prev_course_id"]=>
        object(stdClass)#14 (13) {
          ["name"]=>
          string(14) "prev_course_id"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(3) "int"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["dq_error_points"]=>
        object(stdClass)#15 (13) {
          ["name"]=>
          string(15) "dq_error_points"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["notstarted"]=>
        object(stdClass)#16 (13) {
          ["name"]=>
          string(10) "notstarted"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["fastest_zero"]=>
        object(stdClass)#17 (13) {
          ["name"]=>
          string(12) "fastest_zero"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
        ["points_deduction"]=>
        object(stdClass)#18 (13) {
          ["name"]=>
          string(16) "points_deduction"
          ["table"]=>
          string(6) "course"
          ["def"]=>
          string(0) ""
          ["max_length"]=>
          int(0)
          ["not_null"]=>
          int(0)
          ["primary_key"]=>
          int(0)
          ["multiple_key"]=>
          int(0)
          ["unique_key"]=>
          int(0)
          ["numeric"]=>
          int(1)
          ["blob"]=>
          int(0)
          ["type"]=>
          string(4) "real"
          ["unsigned"]=>
          int(0)
          ["zerofill"]=>
          int(0)
        }
      }
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(210) "IHA-S-003: Unable to create query due the error  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 
Query was " } } [1]=> array(7) { ["file"]=> string(41) "/var/www/eo2018/lieto/inc/competition.inc" ["line"]=> int(98) ["function"]=> string(18) "execute_this_query" ["class"]=> string(10) "QueryClass" ["object"]=> object(courseQuery)#5 (25) { ["kantalinkki"]=> resource(2) of type (mysql link) ["taulunimi"]=> string(6) "course" ["kysely_kentta"]=> array(1) { ["course.id"]=> string(5) "='53'" } ["kysely"]=> resource(3) of type (mysql result) ["sqljono"]=> string(44) "select * from course where course.id='53'" ["lisatty_id"]=> NULL ["muutos_rivi_lkm"]=> NULL ["jointaulut"]=> NULL ["jointehdot"]=> NULL ["outerjoin_kysely_kentta"]=> NULL ["outerjointaulut"]=> NULL ["pakolliset_kentat"]=> array(0) { } ["puuttuvat_kentat"]=> NULL ["tietue"]=> bool(false) ["lowlimit"]=> NULL ["numofrecords"]=> NULL ["sortorder"]=> NULL ["ignore_errors"]=> bool(false) ["show_backtrace"]=> bool(true) ["last_error"]=> string(146) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" ["replicate"]=> bool(false) ["replication_tbl"]=> string(7) "tnx_log" ["startorder"]=> bool(false) ["rowsReturned"]=> int(0) ["field_meta"]=> array(13) { ["id"]=> object(stdClass)#6 (13) { ["name"]=> string(2) "id" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(1) ["primary_key"]=> int(1) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(3) "int" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["name"]=> object(stdClass)#7 (13) { ["name"]=> string(4) "name" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(1) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["course_type"]=> object(stdClass)#8 (13) { ["name"]=> string(11) "course_type" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(1) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["class"]=> object(stdClass)#9 (13) { ["name"]=> string(5) "class" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(1) ["primary_key"]=> int(0) ["multiple_key"]=> int(1) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["judge"]=> object(stdClass)#10 (13) { ["name"]=> string(5) "judge" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["competition_type"]=> object(stdClass)#11 (13) { ["name"]=> string(16) "competition_type" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(1) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(0) ["blob"]=> int(0) ["type"]=> string(6) "string" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["standard_time"]=> object(stdClass)#12 (13) { ["name"]=> string(13) "standard_time" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["maximum_time"]=> object(stdClass)#13 (13) { ["name"]=> string(12) "maximum_time" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["prev_course_id"]=> object(stdClass)#14 (13) { ["name"]=> string(14) "prev_course_id" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(3) "int" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["dq_error_points"]=> object(stdClass)#15 (13) { ["name"]=> string(15) "dq_error_points" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["notstarted"]=> object(stdClass)#16 (13) { ["name"]=> string(10) "notstarted" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["fastest_zero"]=> object(stdClass)#17 (13) { ["name"]=> string(12) "fastest_zero" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } ["points_deduction"]=> object(stdClass)#18 (13) { ["name"]=> string(16) "points_deduction" ["table"]=> string(6) "course" ["def"]=> string(0) "" ["max_length"]=> int(0) ["not_null"]=> int(0) ["primary_key"]=> int(0) ["multiple_key"]=> int(0) ["unique_key"]=> int(0) ["numeric"]=> int(1) ["blob"]=> int(0) ["type"]=> string(4) "real" ["unsigned"]=> int(0) ["zerofill"]=> int(0) } } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(98) "select count(*) as lkm from course_result where (running_time>0 or disqualified='Y')and course_id=" } } [2]=> array(7) { ["file"]=> string(41) "/var/www/eo2018/lieto/inc/competition.inc" ["line"]=> int(59) ["function"]=> string(12) "selectCourse" ["class"]=> string(11) "resultClass" ["object"]=> object(listClass)#3 (24) { ["lQuery":protected]=> NULL ["latest_record"]=> NULL ["rank_list"]=> NULL ["combined_result"]=> NULL ["team_result"]=> NULL ["one_team_result"]=> NULL ["lastCombinedList"]=> NULL ["leader_totalpoints"]=> NULL ["competition_type"]=> NULL ["course_class"]=> NULL ["db_link":protected]=> NULL ["course_id"]=> NULL ["team_id"]=> NULL ["course_record"]=> bool(false) ["result_record"]=> NULL ["c_participant_id"]=> NULL ["c_participant_order"]=> NULL ["autorankupdate"]=> bool(true) ["rQuery":protected]=> object(resultsQuery)#4 (26) { ["kantalinkki"]=> resource(2) of type (mysql link) ["kentat"]=> NULL ["taulunimi"]=> string(13) "course_result" ["kysely_kentta"]=> NULL ["kysely"]=> NULL ["sqljono"]=> NULL ["insert_arvot"]=> NULL ["lisatty_id"]=> NULL ["muutos_rivi_lkm"]=> NULL ["jointaulut"]=> NULL ["jointehdot"]=> NULL ["outerjoin_kysely_kentta"]=> NULL ["outerjointaulut"]=> NULL ["pakolliset_kentat"]=> array(0) { } ["puuttuvat_kentat"]=> NULL ["tietue"]=> NULL ["lowlimit"]=> NULL ["numofrecords"]=> NULL ["sortorder"]=> NULL ["field_meta"]=> NULL ["ignore_errors"]=> bool(false) ["show_backtrace"]=> bool(true) ["last_error"]=> NULL ["replicate"]=> bool(false) ["replication_tbl"]=> string(7) "tnx_log" ["startorder"]=> bool(false) } ["combined"]=> NULL ["team_record"]=> NULL ["prev_course_record"]=> NULL ["num_of_results"]=> int(0) ["competition_id"]=> NULL } ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> &NULL [1]=> &NULL [2]=> &NULL [3]=> &int(53) } } [3]=> array(7) { ["file"]=> string(41) "/var/www/eo2018/lieto/show/showobjcts.inc" ["line"]=> int(127) ["function"]=> string(16) "selectCourseById" ["class"]=> string(11) "resultClass" ["object"]=> object(listClass)#3 (24) { ["lQuery":protected]=> NULL ["latest_record"]=> NULL ["rank_list"]=> NULL ["combined_result"]=> NULL ["team_result"]=> NULL ["one_team_result"]=> NULL ["lastCombinedList"]=> NULL ["leader_totalpoints"]=> NULL ["competition_type"]=> NULL ["course_class"]=> NULL ["db_link":protected]=> NULL ["course_id"]=> NULL ["team_id"]=> NULL ["course_record"]=> bool(false) ["result_record"]=> NULL ["c_participant_id"]=> NULL ["c_participant_order"]=> NULL ["autorankupdate"]=> bool(true) ["rQuery":protected]=> object(resultsQuery)#4 (26) { ["kantalinkki"]=> resource(2) of type (mysql link) ["kentat"]=> NULL ["taulunimi"]=> string(13) "course_result" ["kysely_kentta"]=> NULL ["kysely"]=> NULL ["sqljono"]=> NULL ["insert_arvot"]=> NULL ["lisatty_id"]=> NULL ["muutos_rivi_lkm"]=> NULL ["jointaulut"]=> NULL ["jointehdot"]=> NULL ["outerjoin_kysely_kentta"]=> NULL ["outerjointaulut"]=> NULL ["pakolliset_kentat"]=> array(0) { } ["puuttuvat_kentat"]=> NULL ["tietue"]=> NULL ["lowlimit"]=> NULL ["numofrecords"]=> NULL ["sortorder"]=> NULL ["field_meta"]=> NULL ["ignore_errors"]=> bool(false) ["show_backtrace"]=> bool(true) ["last_error"]=> NULL ["replicate"]=> bool(false) ["replication_tbl"]=> string(7) "tnx_log" ["startorder"]=> bool(false) } ["combined"]=> NULL ["team_record"]=> NULL ["prev_course_record"]=> NULL ["num_of_results"]=> int(0) ["competition_id"]=> NULL } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(2) "53" } } [4]=> array(7) { ["file"]=> string(40) "/var/www/eo2018/lieto/show/situation.php" ["line"]=> int(14) ["function"]=> string(17) "processParameters" ["class"]=> string(15) "showResultClass" ["object"]=> object(showResultClass)#1 (15) { ["dblink"]=> NULL ["params"]=> NULL ["oParams"]=> object(paramObject)#2 (10) { ["courseid"]=> string(2) "53" ["startrank"]=> NULL ["numofshow"]=> string(2) "10" ["updatespeed"]=> int(10) ["scrolling"]=> string(1) "N" ["scroll_page_delay"]=> int(20) ["combined"]=> string(1) "N" ["orderbystart"]=> bool(false) ["reverseorder"]=> NULL ["short_version"]=> bool(false) } ["oList"]=> object(listClass)#3 (24) { ["lQuery":protected]=> NULL ["latest_record"]=> NULL ["rank_list"]=> NULL ["combined_result"]=> NULL ["team_result"]=> NULL ["one_team_result"]=> NULL ["lastCombinedList"]=> NULL ["leader_totalpoints"]=> NULL ["competition_type"]=> NULL ["course_class"]=> NULL ["db_link":protected]=> NULL ["course_id"]=> NULL ["team_id"]=> NULL ["course_record"]=> bool(false) ["result_record"]=> NULL ["c_participant_id"]=> NULL ["c_participant_order"]=> NULL ["autorankupdate"]=> bool(true) ["rQuery":protected]=> object(resultsQuery)#4 (26) { ["kantalinkki"]=> resource(2) of type (mysql link) ["kentat"]=> NULL ["taulunimi"]=> string(13) "course_result" ["kysely_kentta"]=> NULL ["kysely"]=> NULL ["sqljono"]=> NULL ["insert_arvot"]=> NULL ["lisatty_id"]=> NULL ["muutos_rivi_lkm"]=> NULL ["jointaulut"]=> NULL ["jointehdot"]=> NULL ["outerjoin_kysely_kentta"]=> NULL ["outerjointaulut"]=> NULL ["pakolliset_kentat"]=> array(0) { } ["puuttuvat_kentat"]=> NULL ["tietue"]=> NULL ["lowlimit"]=> NULL ["numofrecords"]=> NULL ["sortorder"]=> NULL ["field_meta"]=> NULL ["ignore_errors"]=> bool(false) ["show_backtrace"]=> bool(true) ["last_error"]=> NULL ["replicate"]=> bool(false) ["replication_tbl"]=> string(7) "tnx_log" ["startorder"]=> bool(false) } ["combined"]=> NULL ["team_record"]=> NULL ["prev_course_record"]=> NULL ["num_of_results"]=> int(0) ["competition_id"]=> NULL } ["latest_record"]=> NULL ["leader_time"]=> NULL ["leader_error"]=> NULL ["leader_score"]=> NULL ["timetobeat"]=> NULL ["participant_record"]=> NULL ["latest_part_id"]=> NULL ["short_version"]=> bool(false) ["order_latest"]=> bool(false) ["standard_time"]=> NULL ["lastCombinedList"]=> NULL } ["type"]=> string(2) "->" ["args"]=> array(0) { } } }
IHA-S-003: Unable to create query due the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Query was