-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsql_log.txt
More file actions
30 lines (30 loc) · 2.31 KB
/
sql_log.txt
File metadata and controls
30 lines (30 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
MockPDO initialized
PREPARE SQL: UPDATE questions SET quiz_id=:quizID, question=:question, code=:program, code_type=:programType, type=:type WHERE question_id=:q_id
EXECUTE Params: {"quizID":"1","question":"Test Question","program":"Test Code","programType":"cpp","type":"mc","q_id":"100"}
PREPARE SQL: DELETE FROM answers WHERE question_id=:q_id
EXECUTE Params: {"q_id":"100"}
PREPARE SQL: INSERT INTO answers (quiz_id, question_id, answer, correct) VALUES (:quizID, :q_id, :answer, :correct)
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans2","correct":"1"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans1","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans3","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans4","correct":"0"}
MockPDO initialized
PREPARE SQL: UPDATE questions SET quiz_id=:quizID, question=:question, code=:program, code_type=:programType, type=:type WHERE question_id=:q_id
EXECUTE Params: {"quizID":"1","question":"Test Question","program":"Test Code","programType":"cpp","type":"mc","q_id":"100"}
PREPARE SQL: DELETE FROM answers WHERE question_id=:q_id
EXECUTE Params: {"q_id":"100"}
PREPARE SQL: INSERT INTO answers (quiz_id, question_id, answer, correct) VALUES (:quizID, :q_id, :answer, :correct)
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans2","correct":"1"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans1","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans3","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans4","correct":"0"}
MockPDO initialized
PREPARE SQL: UPDATE questions SET quiz_id=:quizID, question=:question, code=:program, code_type=:programType, type=:type WHERE question_id=:q_id
EXECUTE Params: {"quizID":"1","question":"Test Question","program":"Test Code","programType":"cpp","type":"mc","q_id":"100"}
PREPARE SQL: DELETE FROM answers WHERE question_id=:q_id
EXECUTE Params: {"q_id":"100"}
PREPARE SQL: INSERT INTO answers (quiz_id, question_id, answer, correct) VALUES (:quizID, :q_id, :answer, :correct)
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans2","correct":"1"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans1","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans3","correct":"0"}
EXECUTE Params: {"quizID":"1","q_id":"100","answer":"Ans4","correct":"0"}