|  | @@ 212-223 (lines=12) @@ | 
                                                            
                                    | 209 |  |      * @group DBAL-209 | 
                                                            
                                    | 210 |  |      * @expectedException \Doctrine\DBAL\DBALException | 
                                                            
                                    | 211 |  |      */ | 
                                                            
                                    | 212 |  |     public function testFetchAllWithMissingTypes() | 
                                                            
                                    | 213 |  |     { | 
                                                            
                                    | 214 |  |         if ($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver || | 
                                                            
                                    | 215 |  |             $this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver) { | 
                                                            
                                    | 216 |  |             $this->markTestSkipped('mysqli and sqlsrv actually supports this'); | 
                                                            
                                    | 217 |  |         } | 
                                                            
                                    | 218 |  |  | 
                                                            
                                    | 219 |  |         $datetimeString = '2010-01-01 10:10:10'; | 
                                                            
                                    | 220 |  |         $datetime = new \DateTime($datetimeString); | 
                                                            
                                    | 221 |  |         $sql = "SELECT test_int, test_datetime FROM fetch_table WHERE test_int = ? AND test_datetime = ?"; | 
                                                            
                                    | 222 |  |         $data = $this->_conn->fetchAll($sql, array(1, $datetime)); | 
                                                            
                                    | 223 |  |     } | 
                                                            
                                    | 224 |  |  | 
                                                            
                                    | 225 |  |     public function testFetchBoth() | 
                                                            
                                    | 226 |  |     { | 
                                                                                
                                |  | @@ 278-289 (lines=12) @@ | 
                                                            
                                    | 275 |  |     /** | 
                                                            
                                    | 276 |  |      * @expectedException \Doctrine\DBAL\DBALException | 
                                                            
                                    | 277 |  |      */ | 
                                                            
                                    | 278 |  |     public function testFetchAssocWithMissingTypes() | 
                                                            
                                    | 279 |  |     { | 
                                                            
                                    | 280 |  |         if ($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver || | 
                                                            
                                    | 281 |  |             $this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver) { | 
                                                            
                                    | 282 |  |             $this->markTestSkipped('mysqli and sqlsrv actually supports this'); | 
                                                            
                                    | 283 |  |         } | 
                                                            
                                    | 284 |  |  | 
                                                            
                                    | 285 |  |         $datetimeString = '2010-01-01 10:10:10'; | 
                                                            
                                    | 286 |  |         $datetime = new \DateTime($datetimeString); | 
                                                            
                                    | 287 |  |         $sql = "SELECT test_int, test_datetime FROM fetch_table WHERE test_int = ? AND test_datetime = ?"; | 
                                                            
                                    | 288 |  |         $row = $this->_conn->fetchAssoc($sql, array(1, $datetime)); | 
                                                            
                                    | 289 |  |     } | 
                                                            
                                    | 290 |  |  | 
                                                            
                                    | 291 |  |     public function testFetchArray() | 
                                                            
                                    | 292 |  |     { | 
                                                                                
                                |  | @@ 318-329 (lines=12) @@ | 
                                                            
                                    | 315 |  |     /** | 
                                                            
                                    | 316 |  |      * @expectedException \Doctrine\DBAL\DBALException | 
                                                            
                                    | 317 |  |      */ | 
                                                            
                                    | 318 |  |     public function testFetchArrayWithMissingTypes() | 
                                                            
                                    | 319 |  |     { | 
                                                            
                                    | 320 |  |         if ($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver || | 
                                                            
                                    | 321 |  |             $this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver) { | 
                                                            
                                    | 322 |  |             $this->markTestSkipped('mysqli and sqlsrv actually supports this'); | 
                                                            
                                    | 323 |  |         } | 
                                                            
                                    | 324 |  |  | 
                                                            
                                    | 325 |  |         $datetimeString = '2010-01-01 10:10:10'; | 
                                                            
                                    | 326 |  |         $datetime = new \DateTime($datetimeString); | 
                                                            
                                    | 327 |  |         $sql = "SELECT test_int, test_datetime FROM fetch_table WHERE test_int = ? AND test_datetime = ?"; | 
                                                            
                                    | 328 |  |         $row = $this->_conn->fetchArray($sql, array(1, $datetime)); | 
                                                            
                                    | 329 |  |     } | 
                                                            
                                    | 330 |  |  | 
                                                            
                                    | 331 |  |     public function testFetchColumn() | 
                                                            
                                    | 332 |  |     { | 
                                                                                
                                |  | @@ 359-370 (lines=12) @@ | 
                                                            
                                    | 356 |  |     /** | 
                                                            
                                    | 357 |  |      * @expectedException \Doctrine\DBAL\DBALException | 
                                                            
                                    | 358 |  |      */ | 
                                                            
                                    | 359 |  |     public function testFetchColumnWithMissingTypes() | 
                                                            
                                    | 360 |  |     { | 
                                                            
                                    | 361 |  |         if ($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver || | 
                                                            
                                    | 362 |  |             $this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\SQLSrv\Driver) { | 
                                                            
                                    | 363 |  |             $this->markTestSkipped('mysqli and sqlsrv actually supports this'); | 
                                                            
                                    | 364 |  |         } | 
                                                            
                                    | 365 |  |  | 
                                                            
                                    | 366 |  |         $datetimeString = '2010-01-01 10:10:10'; | 
                                                            
                                    | 367 |  |         $datetime = new \DateTime($datetimeString); | 
                                                            
                                    | 368 |  |         $sql = "SELECT test_int, test_datetime FROM fetch_table WHERE test_int = ? AND test_datetime = ?"; | 
                                                            
                                    | 369 |  |         $column = $this->_conn->fetchColumn($sql, array(1, $datetime), 1); | 
                                                            
                                    | 370 |  |     } | 
                                                            
                                    | 371 |  |  | 
                                                            
                                    | 372 |  |     /** | 
                                                            
                                    | 373 |  |      * @group DDC-697 |