Commit Graph

781 Commits

Author SHA1 Message Date
Lunny Xiao 10e67d407f Merge pull request #159 from go-xorm/tidy-up/logger
update ILogger interface, to reduce performance cost where string format...
2014-08-20 16:46:34 +08:00
Nash Tsai 90d1be45a2 update ILogger interface, to reduce performance cost where string format or concat is done when it's need to write out 2014-08-20 10:37:52 +08:00
Nash Tsai 55c9cb4c07 fixed error usage in simple logger
make default log level DEBUG
2014-08-20 09:48:04 +08:00
Nash Tsai 9ae84a13fc add TODO comments 2014-08-20 09:46:18 +08:00
Nash Tsai 9d560de452 Merge branch 'master' of github.com:go-xorm/xorm 2014-08-20 09:39:12 +08:00
Nash Tsai 0c227ead0f add log level support to simple logger 2014-08-20 09:38:52 +08:00
商讯在线 a71c330f16 fix bug
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-08-20 00:26:28 +08:00
Nash Tsai d1e396ee3f Merge branch 'master' of github.com:go-xorm/xorm 2014-08-19 10:39:28 +08:00
Nash Tsai 6958d6d3dc guard uninitialized time in func (engine *Engine) TZTime(t time.Time) 2014-08-19 10:38:57 +08:00
Lunny Xiao a5eef1b878 Merge pull request #158 from ahall/master
All cols not being reset, causes problems when using the session again a...
2014-08-18 23:14:27 +08:00
Alfred Hall 917bd37518 All cols not being reset, causes problems when using the session again after AllCols()
Signed-off-by: Alfred Hall <ahall@ahall.org>
2014-08-18 13:38:24 +00:00
Lunny Xiao c5a437680d bug fixed for Desc & Asc 2014-08-18 21:20:18 +08:00
Nash Tsai 0e8dcc062b Merge branch 'master' of github.com:go-xorm/xorm 2014-08-18 16:02:31 +08:00
Nash Tsai 8164f74b64 update func (session *Session) cacheFind, if no cache hit, continue instead of return error 2014-08-18 16:02:24 +08:00
商讯在线 5d911472d2 bugfix
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-08-16 20:11:20 +08:00
Nash Tsai a562f9b6aa code tidy up
logger tidy up

private serialize and deserialize func
2014-08-12 03:20:27 +08:00
Nash Tsai 236970548e resolved merge 2014-08-11 20:02:14 +08:00
Nash Tsai f33ed5b947 fix error using ioutil.Discard 2014-08-11 20:00:13 +08:00
Lunny Xiao 6ddc6b411f Merge branch 'master' of github.com:go-xorm/xorm 2014-08-08 14:07:27 +08:00
Lunny Xiao ab8716a447 bug fixed #154 2014-08-08 14:05:51 +08:00
Nash Tsai cc936edbe3 Merge branch 'master' of github.com:go-xorm/xorm 2014-08-08 05:06:02 +08:00
Nash Tsai 160de20254 SimpleLogger tidy up 2014-08-08 05:05:45 +08:00
Nash Tsai 4c93eaf1f4 implemented interface gob encode and decode for redit cacher 2014-08-08 04:10:35 +08:00
Lunny Xiao 381a0f154e Merge branch 'master' of github.com:go-xorm/xorm 2014-08-07 22:18:27 +08:00
Lunny Xiao 4c38b4de47 add set type 2014-08-07 22:18:15 +08:00
fuxiaohei a2283dee23 fix syntax error in doc 2014-08-07 16:58:24 +08:00
Nash Tsai 40f3ddd819 Merge remote-tracking branch 'origin/master' into feature/cacher-tag 2014-08-06 15:56:23 +08:00
Lunny Xiao f3b3ef2934 Merge branch 'master' of github.com:go-xorm/xorm 2014-08-05 15:46:08 +08:00
Lunny Xiao 89dc7bb0f7 bug fixed for mssql limit 2014-08-05 15:45:54 +08:00
Lunny Xiao 089499e3ad Merge pull request #151 from starchou/master
Update session.go
2014-07-31 15:37:26 +08:00
starChou d22a247759 Update session.go
fix stmt query of 'Get function' bug when an error occurred
2014-07-31 15:30:42 +08:00
Nash Tsai 2420e53193 redis cacher implementation, incomplete 2014-07-29 17:18:13 +08:00
Nash Tsai 40d500a8b9 add Engine.LogSQLQueryTime and Engine.LogSQLExecutionTime for SQL execution time logging 2014-07-21 14:56:26 +08:00
Nash Tsai 2b4273578a Merge remote-tracking branch 'origin/master' into feature/cacher-tag 2014-07-21 12:43:06 +08:00
Nash Tsai 6e37d48701 fixed missing engine.LogWarnf replacement 2014-07-21 12:05:07 +08:00
Nash Tsai 925d4e8ca5 add LogErrorf/LogWarnf/LogInfof/LogDebugf for formatter logging
using fmt.Sprint instead of fmt.Sprintln for logging print
2014-07-21 12:03:20 +08:00
Nash Tsai f20e1f7c0e Merge remote-tracking branch 'origin/master' into feature/cacher-tag 2014-07-21 11:30:05 +08:00
Lunny Xiao 4a03e015f4 bug fixed for log 2014-07-19 18:02:02 +08:00
Lunny Xiao 135bb42e5f Merge pull request #145 from cnphpbb/dev
add mothod Decr.
2014-07-16 09:11:53 +08:00
kevinGunn f040283a1f add mothod Decr 2014-07-15 23:32:20 +08:00
kevinGunn 3c457a8cf0 add mothod Decr 2014-07-15 23:25:24 +08:00
Lunny Xiao 5f8a20eb1c Merge pull request #142 from NicolasSamDuval/master
Support uint64 with high bit set.
2014-07-12 13:49:47 +08:00
Nicolas Duval c9db8e93f7 Support uint64 with high bit set.
This limitation is due to "database/sql" go package implementation.
2014-07-11 10:40:41 -07:00
Lunny Xiao 244c0989f2 working on #140 2014-07-09 21:48:48 +08:00
Lunny Xiao f7a32eed68 online build status 2014-07-08 20:36:26 +08:00
Lunny Xiao a22b6eb727 Merge branch 'master' of github.com:go-xorm/xorm 2014-07-08 09:35:24 +08:00
Lunny Xiao 12a68f628a bug fixed #139 2014-07-08 09:34:56 +08:00
Lunny Xiao 76f9a47459 Merge pull request #138 from eryx/master
bugfix: getting the right column lines
2014-07-04 17:34:17 +08:00
Lunny Xiao a404099f25 improved docs 2014-07-04 14:16:03 +08:00
Eryx 560525e3ca bugfix: getting the right column lines when the culumn type is varchar (n) or number (n, m) 2014-07-03 23:35:31 +08:00