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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: davefazio at annulet dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 04:01:33 2025 UTC