File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ public function wait() {
48
48
}
49
49
50
50
$ this ->_ready = true ;
51
+ return $ this ;
51
52
}
52
53
53
54
public function fetch ( $ maxRows ) {
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ public function wait() {
52
52
} while (true );
53
53
54
54
$ this ->_ready = true ;
55
+ return $ this ;
55
56
}
56
57
57
58
public function fetch ( $ maxRows ) {
Original file line number Diff line number Diff line change @@ -96,9 +96,8 @@ public function rewind() {
96
96
}
97
97
$ this ->runCount ++;
98
98
99
- $ this ->thriftSQLQuery = $ this ->thriftSQL ->query ( $ this ->queryStr );
100
99
$ this ->buffer = array ();
101
100
$ this ->location = 0 ;
102
- $ this ->thriftSQLQuery ->wait ();
101
+ $ this ->thriftSQLQuery = $ this -> thriftSQL -> query ( $ this -> queryStr ) ->wait ();
103
102
}
104
103
}
You can’t perform that action at this time.
0 commit comments