Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > Pear
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 05-20-2007, 6:34 PM   #1
Bram Kuijper
 
Bram Kuijper's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default MDB2 bug manager module

Hi,

I found an annoying bug in MDB2's manager module: the function
listDatabases() only returns database names in lowercase format. Which
is slightly annoying when one wants to feed the output of the
listDatabases()-function to shell functions such as mysqlmanager which
are case sensitive.

Where can I submit such a simple bug/feature request for the MDB2
manager module? Apparently, the bug database (ie.
http://pear.php.net/bugs/report.php?package=MDB2) is only available for
people who have the time to write patches, which is a bit over the top
when you just want to collect simple bugs. Not all of us are
PEAR-developers, right?

thanks,
Bram
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 05-20-2007, 6:34 PM   #2
Mark Wiesemann
 
Mark Wiesemann's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default MDB2 bug manager module

Hi Bram,

Bram Kuijper wrote:
> I found an annoying bug in MDB2's manager module: the function
> listDatabases() only returns database names in lowercase format. Which
> is slightly annoying when one wants to feed the output of the
> listDatabases()-function to shell functions such as mysqlmanager which
> are case sensitive.


Is this maybe only caused by the portability settings?
http://pear.php.net/manual/en/packag...ortability.php

> Where can I submit such a simple bug/feature request for the MDB2
> manager module? Apparently, the bug database (ie.
> http://pear.php.net/bugs/report.php?package=MDB2) is only available for
> people who have the time to write patches, which is a bit over the top
> when you just want to collect simple bugs. Not all of us are
> PEAR-developers, right?


You don't need to upload a patch. Simply reporting a problem is fine.

Regards,
Mark

--
http://www.markwiesemann.eu
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 05-20-2007, 6:34 PM   #3
Bram Kuijper
 
Bram Kuijper's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default MDB2 bug manager module

okay, some further research indeed pointed out that this is due to the
field_case option in MySQL, which is by default lowercase. The only
alternative is however to let all the database names be uppercase, at
least according to the field_case description in the documentation. Is
there just no way in MDB2 to preserve the original case, so that
mixed-case names are just preserved?

thanks in advance,

Bram Kuijper

Mark Wiesemann wrote:
> Hi Bram,
>
> Bram Kuijper wrote:
>
>> I found an annoying bug in MDB2's manager module: the function
>> listDatabases() only returns database names in lowercase format. Which
>> is slightly annoying when one wants to feed the output of the
>> listDatabases()-function to shell functions such as mysqlmanager which
>> are case sensitive.
>>

>
> Is this maybe only caused by the portability settings?
> http://pear.php.net/manual/en/packag...ortability.php
>
>
>> Where can I submit such a simple bug/feature request for the MDB2
>> manager module? Apparently, the bug database (ie.
>> http://pear.php.net/bugs/report.php?package=MDB2) is only available for
>> people who have the time to write patches, which is a bit over the top
>> when you just want to collect simple bugs. Not all of us are
>> PEAR-developers, right?
>>

>
> You don't need to upload a patch. Simply reporting a problem is fine.
>
> Regards,
> Mark
>
>



--

---------------------------------------------------------------
Bram Kuijper
Theoretical Biology Group
University of Groningen
PO Box 14
9750 AA Haren, the Netherlands
tel: +31 50 363 80 94
fax: +31 50 363 34 00
e-mail: a.l.w.kuijper@rug.nl
---------------------------------------------------------------
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 05-20-2007, 6:34 PM   #4
Mark Wiesemann
 
Mark Wiesemann's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default MDB2 bug manager module

Bram Kuijper wrote:
> okay, some further research indeed pointed out that this is due to the
> field_case option in MySQL, which is by default lowercase. The only
> alternative is however to let all the database names be uppercase, at
> least according to the field_case description in the documentation. Is
> there just no way in MDB2 to preserve the original case, so that
> mixed-case names are just preserved?


It looks like only turning off all portability features could solve your
problem. (See Example 35-1 on the manual page.)

Regards,
Mark

--
http://www.markwiesemann.eu
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 05-20-2007, 6:34 PM   #5
Lorenzo Alberton
 
Lorenzo Alberton's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default [PEAR] MDB2 bug manager module

Bram Kuijper wrote:

> I found an annoying bug in MDB2's manager module: the function
> listDatabases() only returns database names in lowercase format. Which
> is slightly annoying when one wants to feed the output of the
> listDatabases()-function to shell functions such as mysqlmanager which
> are case sensitive.


just disable the MDB2_PORTABILITY_FIX_CASE portability option:

$db->setOption('portability', MDB2_PORTABILITY_ALL ^
MDB2_PORTABILITY_FIX_CASE);

Best regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo
__________________________________________________ _________________
Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di pił.
ADSL, Hardware & Software Online Store
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MDB2 - how to catch "MDB2 Error: constraint violation" error? l Burnerheimerton Pear 3 10-12-2008 10:44 AM
FootBall Manager 2006 MADMAX Help And Cheats 2 10-01-2007 7:58 AM
PHP Warning: Module 'readline' already loaded in Unknown on line 0 Geevaa PHP 0 05-20-2007 6:33 PM
Xpert Eleven !! Virtual football manager jarhead Community Chat 4 04-17-2007 8:02 PM
FootBall Manager 2006 MADMAX The Games 0 03-08-2006 5:00 PM


Featured Websites




All times are GMT +1. The time now is 6:03 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98