2007-10-14 01:45:08 +04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Coverage for Doctrine_Transaction_Pgsql</title>
|
|
|
|
<style type="text/css">
|
|
|
|
.covered{ background: green;}
|
|
|
|
.normal{ background: white;}
|
|
|
|
.red{ background: red;}
|
|
|
|
.orange{ background: #f90;}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body><h1>Coverage for Doctrine_Transaction_Pgsql</h1><p><a href="index.php">Back to coverage report</a></p><table>
|
|
|
|
<tr><td>1</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"><?php
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>2</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">/*
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>3</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * $Id: Pgsql.php 2963 2007-10-21 06:23:59Z Jonathan.Wage $
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>4</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>5</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>6</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>7</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>8</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>9</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>10</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>11</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>12</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>13</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>14</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>15</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>16</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>17</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * This software consists of voluntary contributions made by many individuals
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>18</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * and is licensed under the LGPL. For more information, see
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>19</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * <http://www.phpdoctrine.org>.
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>20</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>21</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered">Doctrine::autoload('Doctrine_Transaction');
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>22</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">/**
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>23</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>24</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @author Konsta Vesterinen <kvesteri@cc.hut.fi>
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>25</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @author Paul Cooper <pgc@ucecom.com> (PEAR MDB2 Pgsql driver)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>26</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>27</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>28</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @package Doctrine
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>29</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @subpackage Transaction
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>30</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @link www.phpdoctrine.org
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>31</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @since 1.0
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>32</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @version $Revision: 2963 $
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>33</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>34</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered">class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>35</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">{
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>36</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> /**
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>37</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * createSavepoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>38</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * creates a new savepoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>39</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>40</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @param string $savepoint name of a savepoint to set
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>41</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @return void
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>42</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>43</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> protected function createSavePoint($savepoint)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>44</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> {
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>45</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> $query = 'SAVEPOINT ' . $savepoint;
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>46</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>47</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> return $this->conn->execute($query);
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>48</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="orange"> }
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>49</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>50</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> /**
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>51</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * releaseSavePoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>52</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * releases given savepoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>53</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>54</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @param string $savepoint name of a savepoint to release
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>55</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @return void
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>56</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>57</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> protected function releaseSavePoint($savepoint)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>58</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> {
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>59</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> $query = 'RELEASE SAVEPOINT ' . $savepoint;
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>60</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>61</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> return $this->conn->execute($query);
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>62</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="orange"> }
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>63</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>64</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> /**
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>65</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * rollbackSavePoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>66</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * releases given savepoint
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>67</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>68</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @param string $savepoint name of a savepoint to rollback to
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>69</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @return void
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>70</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>71</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> protected function rollbackSavePoint($savepoint)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>72</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> {
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>73</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> $query = 'ROLLBACK TO SAVEPOINT ' . $savepoint;
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>74</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>75</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> return $this->conn->execute($query);
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>76</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="orange"> }
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>77</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>78</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> /**
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>79</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * Set the transacton isolation level.
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>80</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> *
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>81</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @param string standard isolation level
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>82</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * READ UNCOMMITTED (allows dirty reads)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>83</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * READ COMMITTED (prevents dirty reads)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>84</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * REPEATABLE READ (prevents nonrepeatable reads)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>85</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * SERIALIZABLE (prevents phantom reads)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>86</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @throws PDOException if something fails at the PDO level
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>87</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @throws Doctrine_Transaction_Exception if using unknown isolation level or unknown wait option
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>88</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> * @return void
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>89</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> */
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>90</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> public function setIsolation($isolation)
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>91</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> {
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>92</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal"> switch ($isolation) {
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>93</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> case 'READ UNCOMMITTED':
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>94</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> case 'READ COMMITTED':
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>95</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> case 'REPEATABLE READ':
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>96</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> case 'SERIALIZABLE':
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>97</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> break;
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>98</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> default:
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>99</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> throw new Doctrine_Transaction_Exception('Isolation level '.$isolation.' is not supported.');
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>100</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> }
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>101</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="normal">
|
2007-10-14 01:45:08 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>102</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> $query = 'SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL ' . $isolation;
|
2007-10-21 20:12:20 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>103</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="covered"> return $this->conn->execute($query);
|
2007-10-21 20:12:20 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>104</td>
|
2008-02-22 21:11:35 +03:00
|
|
|
<td class="orange"> }
|
2007-10-21 20:12:20 +04:00
|
|
|
</td></tr>
|
|
|
|
<tr><td>105</td>
|
2007-10-14 01:45:08 +04:00
|
|
|
<td class="covered">}</td></tr>
|
|
|
|
</table></body></html>
|