php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26091 left()
Submitted: 2003-11-03 01:32 UTC Modified: 2003-11-17 18:16 UTC
From: drei at porrigt dot se Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 4.3.3 OS: Linux mini 2.4.22
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: drei at porrigt dot se
New email:
PHP Version: OS:

 

 [2003-11-03 01:32 UTC] drei at porrigt dot se
Description:
------------
it could be that php is compiled the wrong way, or this could be a bug. im not sure.

the problem is with the left() syntax in mysql, it wont output anything.

working fine when i run it in a shell, but not with php!

Reproduce code:
---------------
select left(blob,5) from table

Expected result:
----------------
if blob would contain 'abcdefghijklmnopqrstuvwxyz'

it should return 'abcde'

Actual result:
--------------
nothing.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-03 03:03 UTC] moriyoshi@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-11-17 18:16 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 07:03:37 2021 UTC