The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange MySQL Behavior
Author Message
n1ghtwish
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 28 in 8 posts
Joined: Jan 2016
Reputation: 0



Post: #6
RE: Strange MySQL Behavior
So, I've circumvented the error by specifying the columns I need to query, rather than using the * operator, which is probably better anyway, less unused data being parsed.

Code:
local.col = column1, column2, etc....
local.table = table
db.query "select <local.col> from <local.table> where blah = whatever"
02-15-2016 04:01 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Strange MySQL Behavior - n1ghtwish - 02-08-2016, 05:19 PM
RE: Strange MySQL Behavior - darksun84 - 02-09-2016, 07:20 AM
RE: Strange MySQL Behavior - n1ghtwish - 02-09-2016, 02:25 PM
RE: Strange MySQL Behavior - Ben - 02-12-2016, 03:24 AM
RE: Strange MySQL Behavior - n1ghtwish - 02-15-2016, 04:23 AM
RE: Strange MySQL Behavior - n1ghtwish - 02-15-2016 04:01 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)