- Timestamp:
- 2010/08/24 14:58:32 (14 years ago)
- bzr:base-revision:
- ohkouchi@loop-az.jp-20100820090626-dkyj2ngdh7vklaow
- bzr:committer:
- Kentaro Ohkouchi <ohkouchi@loop-az.jp>
- bzr:file-ids:
data/class/SC_Query.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_Query.php
data/class/db/SC_DB_DBFactory.php 15123@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fdb%2FSC_DB_DBFactory.php
data/class/db/dbfactory/SC_DB_DBFactory_MYSQL.php 15123@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fdb%2Fdbfactory%2FSC_DB_DBFactory_MYSQL.php
data/class/db/dbfactory/SC_DB_DBFactory_PGSQL.php 15123@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fdb%2Fdbfactory%2FSC_DB_DBFactory_PGSQL.php
data/class/helper/SC_Helper_DB.php 15176@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fhelper%2FSC_Helper_DB.php
data/class/helper/SC_Helper_Session.php 15277@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fhelper%2FSC_Helper_Session.php
html/install/index.php 16809@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Findex.php
test/class/SC_Query_Test.php sc_query_test.php-20100803024127-ljzonih8f5jpan9o-1
test/class/helper/SC_Helper_DB_Test.php 15242@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Ftest%2Fclass%2Fhelper%2FSC_Helper_DB_Test.php- bzr:mapping-version:
- v4
- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- ohkouchi@loop-az.jp-20100824055828-2oy1qb3wcp85i76l
- bzr:revno:
- 2273
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:text-parents:
data/class/SC_Query.php ohkouchi@loop-az.jp-20100819104758-beubop5hq0pwdqhx
data/class/helper/SC_Helper_Session.php ohkouchi@loop-az.jp-20100614082857-g3n9wn9zakpc7a0m
html/install/index.php ohkouchi@loop-az.jp-20100819104758-beubop5hq0pwdqhx
test/class/SC_Query_Test.php ohkouchi@loop-az.jp-20100803111301-u8ph4za35y4il0dh
test/class/helper/SC_Helper_DB_Test.php ohkouchi@loop-az.jp-20100726081655-tqxqwy02bxqhswcu- bzr:timestamp:
- 2010-08-24 14:58:28.038000107 +0900
- bzr:user-agent:
- bzr2.1.2+bzr-svn1.0.2
- svn:original-date:
- 2010-08-24T05:58:28.038000Z
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_Session.php
r18701 r18790 65 65 */ 66 66 function sfSessRead($id) { 67 if (!$this->objDb->sfTabaleExists("dtb_session")) return '';68 67 $objQuery = new SC_Query(); 69 68 $arrRet = $objQuery->select("sess_data", "dtb_session", "sess_id = ?", array($id)); … … 84 83 function sfSessWrite($id, $sess_data) 85 84 { 86 if (!$this->objDb->sfTabaleExists("dtb_session")) return false;87 85 $objQuery = new SC_Query(); 88 86 $count = $objQuery->count("dtb_session", "sess_id = ?", array($id)); … … 115 113 */ 116 114 function sfSessDestroy($id) { 117 if (!$this->objDb->sfTabaleExists("dtb_session")) return false;118 115 $objQuery = new SC_Query(); 119 116 $objQuery->delete("dtb_session", "sess_id = ?", array($id)); … … 130 127 function sfSessGc($maxlifetime) { 131 128 // MAX_LIFETIME以上更新されていないセッションを削除する。 132 if (!$this->objDb->sfTabaleExists("dtb_session")) return false;133 129 $objQuery = new SC_Query(); 134 130 $where = "update_date < current_timestamp + '-". MAX_LIFETIME . " secs'";
Note: See TracChangeset
for help on using the changeset viewer.