Skip to content

Update db.php#90

Open
fzh369 wants to merge 1 commit intoowner888:masterfrom
fzh369:patch-1
Open

Update db.php#90
fzh369 wants to merge 1 commit intoowner888:masterfrom
fzh369:patch-1

Conversation

@fzh369
Copy link

@fzh369 fzh369 commented Dec 21, 2017

public static function autocommit($mode = false)
{
//self::$links[self::$link_name]['conn'] = self::init_mysql();
self::init_mysql(); //上行这个写法是错的, 因为int_mysql没有返回, 所以会一直是Null.

public static function autocommit($mode = false)
    {
	//self::$links[self::$link_name]['conn'] = self::init_mysql();
	self::init_mysql(); //上行这个写法是错的, 因为int_mysql没有返回, 所以会一直是Null.
@fzh369
Copy link
Author

fzh369 commented Dec 21, 2017

我使用时遇到了这个bug, 所以改正过来后来这里fork了.

@owner888
Copy link
Owner

感谢,已经修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants