php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26387 TABLE TEMPORARY DOES NOT WORK
Submitted: 2003-11-24 15:06 UTC Modified: 2003-11-24 21:00 UTC
From: davefazio at annulet dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.0b2 (beta2) OS: Windows 2003 Sever
Private report: No CVE-ID: None
 [2003-11-24 15:06 UTC] davefazio at annulet dot com
Description:
------------
Keep getting a FAIL when passing a CREATE TABLE TEMPORARY in PHP 5 (and the current production release). I can run the exact same query with same MySQL user from the command line without error.

Reproduce code:
---------------
and CREATE TABLE TEMPORARY statement should reproduce the problem.

Actual result:
--------------
mysql_query returns FALSE adn the table is not created

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-24 21:00 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

The correct query is CREATE TEMPORARY TABLE table_name;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 17:01:32 2024 UTC