Welcome Guest, Not a member yet? Register   Sign In
Error with CI 3.1.2
#3

(11-14-2016, 04:27 PM)ajdunn Wrote: I think I came across the same issue with update_batch. See https://github.com/bcit-ci/CodeIgniter/issues/4892

Hey THANK YOU! Made this change and it fixed the problem. Not sure if there are any other repercussions of this but I'm going to fly with it for now. For anyone else that runs across this:

system > database > DB_query_builder line 1918 change
Code:
            if ($this->query($this->_update_batch($this->protect_identifiers($table, TRUE, NULL, FALSE), array_slice($this->qb_set, $i, $batch_size), $index)))

to

Code:
            if ($this->query($this->_update_batch($this->protect_identifiers($table, TRUE, NULL, FALSE), array_slice($this->qb_set, $i, $batch_size), $this->protect_identifiers($index))))
Reply


Messages In This Thread
Error with CI 3.1.2 - by 330Root - 11-14-2016, 11:37 AM
RE: Error with CI 3.1.2 - by ajdunn - 11-14-2016, 04:27 PM
RE: Error with CI 3.1.2 - by 330Root - 11-21-2016, 12:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB