Browse Source

license

tags/v0.4.4
Lunny Xiao 4 years ago
parent
commit
1992491553
27 changed files with 102 additions and 8 deletions
  1. +1
    -1
      LICENSE
  2. +1
    -1
      VERSION
  3. +1
    -1
      doc.go
  4. +4
    -0
      engine.go
  5. +4
    -0
      error.go
  6. +4
    -0
      goracle_driver.go
  7. +4
    -0
      helpers.go
  8. +4
    -0
      logger.go
  9. +4
    -1
      lru_cacher.go
  10. +4
    -1
      memroy_store.go
  11. +4
    -0
      mssql_dialect.go
  12. +4
    -0
      mymysql_driver.go
  13. +4
    -0
      mysql_dialect.go
  14. +4
    -0
      mysql_driver.go
  15. +4
    -0
      oci8_driver.go
  16. +4
    -0
      odbc_driver.go
  17. +4
    -0
      oracle_dialect.go
  18. +4
    -0
      postgres_dialect.go
  19. +4
    -0
      pq_driver.go
  20. +4
    -0
      processors.go
  21. +4
    -0
      rows.go
  22. +5
    -1
      session.go
  23. +5
    -1
      sqlite3_dialect.go
  24. +4
    -0
      sqlite3_driver.go
  25. +4
    -0
      statement.go
  26. +4
    -0
      syslogger.go
  27. +5
    -1
      xorm.go

+ 1
- 1
LICENSE View File

@@ -1,4 +1,4 @@
Copyright (c) 2013 - 2014
Copyright (c) 2013 - 2015
All rights reserved.

Redistribution and use in source and binary forms, with or without


+ 1
- 1
VERSION View File

@@ -1 +1 @@
xorm v0.4.3.0403
xorm v0.4.3.0428

+ 1
- 1
doc.go View File

@@ -1,4 +1,4 @@
// Copyright 2013 - 2014 The XORM Authors. All rights reserved.
// Copyright 2013 - 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD
// license that can be found in the LICENSE file.



+ 4
- 0
engine.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
error.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
goracle_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
helpers.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
logger.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 1
lru_cacher.go View File

@@ -1,4 +1,7 @@
//LRUCacher implements Cacher according to LRU algorithm
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 1
memroy_store.go View File

@@ -1,4 +1,7 @@
// MemoryStore implements CacheStore provide local machine
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
mssql_dialect.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
mymysql_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
mysql_dialect.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
mysql_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
oci8_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
odbc_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
oracle_dialect.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
postgres_dialect.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
pq_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
processors.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

// Executed before an object is initially persisted to the database


+ 4
- 0
rows.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 5
- 1
session.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (
@@ -722,7 +726,7 @@ func (session *Session) cacheGet(bean interface{}, sqlStr string, args ...interf
func (session *Session) cacheFind(t reflect.Type, sqlStr string, rowsSlicePtr interface{}, args ...interface{}) (err error) {
if session.Statement.RefTable == nil ||
indexNoCase(sqlStr, "having") != -1 ||
indexNoCase(sqlStr, "group by") != -1 ||
indexNoCase(sqlStr, "group by") != -1 ||
session.Tx != nil {
return ErrCacheFailed
}


+ 5
- 1
sqlite3_dialect.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (
@@ -156,7 +160,7 @@ func (db *sqlite3) SqlType(c *core.Column) string {
return core.DateTime
case core.TimeStampz:
return core.Text
case core.Char, core.Varchar, core.NVarchar, core.TinyText,
case core.Char, core.Varchar, core.NVarchar, core.TinyText,
core.Text, core.MediumText, core.LongText, core.Json:
return core.Text
case core.Bit, core.TinyInt, core.SmallInt, core.MediumInt, core.Int, core.Integer, core.BigInt, core.Bool:


+ 4
- 0
sqlite3_driver.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
statement.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (


+ 4
- 0
syslogger.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !windows,!nacl,!plan9

package xorm


+ 5
- 1
xorm.go View File

@@ -1,3 +1,7 @@
// Copyright 2015 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package xorm

import (
@@ -13,7 +17,7 @@ import (
)

const (
Version string = "0.4.3.0403"
Version string = "0.4.3.0428"
)

func regDrvsNDialects() bool {


Loading…
Cancel
Save