BUG REPORT

BUG REPORT

am 12.07.2002 04:59:14 von Mark Bialoglowy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How-To-Repeat: Try to modify any INTEGER(1) in the table.

I'm currently testing MyCC on WIN2K and notice one serious problem. I
have one
column with INTEGER variable and when I try to change the number,
after typing it and confirming myCC crashes. I think you have some
problem with this function.

That's table used for test:

mysql> describe news;
+-------------+--------------+------+-----+---------+
| Field | Type | Null | Key | Default |
+-------------+--------------+------+-----+---------+
| ID | int(8) | | PRI | 0 |
| date | date | YES | | NULL |
| topic | varchar(255) | YES | | NULL |
| author | varchar(100) | YES | | NULL |
| category | varchar(100) | | | |
| description | text | YES | | NULL |
| txt | text | YES | | NULL |
| locked | int(1) | YES | | 1 |
+-------------+--------------+------+-----+---------+

Best Regards,

Marek Bialoglowy [Ultor@hert.org] - INFORMATION SECURITY CONSULTANT
GROUP: HERT (www.hert.org) - PGP: http://www.hert.org/pgp/Ultor.asc
JOB: Vauban Systems -- Jakarta, Indonesia -- Timezone: JAVT, GMT +7

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1

iQA/AwUBPS5GAP4+rhpLlqz7EQJFOwCgmpN08/DxW4rQWHRzkQGQ07wGLcgA nR8i
wyS8w/FzQad2e3h0AzbXUfQ5
=oMrb
-----END PGP SIGNATURE-----



------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread12178@lists.mysql.com
To unsubscribe, e-mail

Re: Bug report

am 17.10.2002 18:40:03 von Philippe Benchemoul

Hi,

Do I need to write the way I follow to arrive at
this step or do I have to follow a very strict mail
with a special body and special subject ?

Best regards.

bugs@lists.mysql.com wrote:
>
> Your message cannot be posted to bugs@lists.mysql.com because it did not
> follow the format expected by our spam/off-topic filter. To this list we
> accept only repeatable bugs reports, meaning that you can describe a
> set of steps we can follow to repeat the bug on our systems.
>
> If you are having problems with MySQL but are unable to provide the required
> description, and have not purchased a support contract from MySQL AB,
> you should send your message to mysql@lists.mysql.com and possibly one of our
> knowledgable users or developers will help you. However, we do not guarantee
> that every message on mysql@lists.mysql.com will be answered. We can afford
> to provide free code, but unfortunately, we cannot afford to provide
> guaranteed free support on top of that. We do, nevertheless, fix our bugs
> regardless of who reports them and whose systems they affect, and will
> investigate your problem if you can prove to us with a test case that the
> error is in our code and not yours.
>
> If you have purchased a support contract from MySQL AB, you should follow
> the standard support request procedure to report this problem. Support
> contracts are available at https://order.mysql.com/.
>
> If you are able to describe how we can repeat the problem, include the string
> "How-To-Repeat:" in the body of your message, followed by the detailed
> description of what we need to do to make it happen, and our filter will
> accept your message. If you use mysqlbug script, which comes with the MySQL
> distribution, to post the message, it will be automatically accepted.
>
> You have written the following:
>
> ---start of your message----
> Hello,
>
> I try to install mysql on a debian's system and I have
> this error when I do the make's command.
>
> gcc :2.95.4
> debian :2.2.18
> mysql :mysql-3.23.52
>
> .........................
> rm -f libreadline.a
> ar cru libreadline.a readline.o funmap.o keymaps.o vi_mode.o parens.o
> rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o
> undo.o macro.o input.o callback.o terminal.o xmalloc.o history.o
> histsearch.o histexpand.o histfile.o nls.o search.o shell.o tilde.o
> ranlib libreadline.a
> make[2]: Leaving directory `/space1/users/PHP/mysql-3.23.52/readline'
> Making all in libmysql
> make[2]: Entering directory `/space1/users/PHP/mysql-3.23.52/libmysql'
> /bin/sh ../libtool --mode=compile gcc
> -DDEFAULT_CHARSET_HOME="\"/usr/local/progs/mysql\""
> -DDATADIR="\"/usr/local/progs/mysql/var\""
> -DSHAREDIR="\"/usr/local/progs/mysql/share/mysql\"" -DUNDEF_THREADS_HACK
> -DDONT_USE_RAID -I./../include -I../include -I./.. -I..
> -I.. -O3 -DDBUG_OFF -O3 -c libmysql.c
> mkdir .libs
> gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/progs/mysql\"
> -DDATADIR=\"/usr/local/progs/mysql/var\"
> -DSHAREDIR=\"/usr/local/progs/mysql/share/mysql\" -DUNDEF_THREADS_HACK
> -DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3
> -DDBUG_OFF -O3 -c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo
> libmysql.c: In function `mysql_real_connect':
> libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
> incompatible pointer type
> libmysql.c:1325: too few arguments to function `gethostbyname_r'
> libmysql.c:1325: warning: assignment makes pointer from integer without
> a cast
> make[2]: *** [libmysql.lo] Error 1
> make[2]: Leaving directory `/space1/users/PHP/mysql-3.23.52/libmysql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/space1/users/PHP/mysql-3.23.52'
> make: *** [all-recursive-am] Error 2
> securite:/space1/users/PHP/mysql-3.23.52# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
>
> ---------------------------------------
>
> If you have an idea, thanks in advance.
>
> Regards.
>
> ---end of your message-------
>
> MySQL Development Team

------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread12777@lists.mysql.com
To unsubscribe, e-mail

Re: Bug report

am 17.10.2002 18:56:43 von Sinisa Milivojevic

Philippe Benchemoul writes:
> Hi,
>
> Do I need to write the way I follow to arrive at
> this step or do I have to follow a very strict mail
> with a special body and special subject ?
>
> Best regards.
>

You just have to write it so that we can repeat a bug.

If this is a build error on Linux, please just use our binaries and do
not bother with building.

Is there any special reason that you need to build them yourself.

--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread12778@lists.mysql.com
To unsubscribe, e-mail

Re: Bug report

am 18.10.2002 14:02:34 von Michael Widenius

Hi!

>>>>> "Philippe" == Philippe Benchemoul writes:

Philippe> Hi,
Philippe> Do I need to write the way I follow to arrive at
Philippe> this step or do I have to follow a very strict mail
Philippe> with a special body and special subject ?

As the reply mail said:

>> If you are able to describe how we can repeat the problem, include the string
>> "How-To-Repeat:" in the body of your message.

The reason your first email bounced was that you didn't have the
string 'how-to-repeat' in they email.

Normally one should always use the 'mysqlbug' script to post a letter
to this email list. If you would have done that, then you would
automaticly got the email in the appropriate form.



>> I try to install mysql on a debian's system and I have
>> this error when I do the make's command.
>>
>> gcc :2.95.4
>> debian :2.2.18
>> mysql :mysql-3.23.52



>> -DDBUG_OFF -O3 -c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo
>> libmysql.c: In function `mysql_real_connect':
>> libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
>> incompatible pointer type
>> libmysql.c:1325: too few arguments to function `gethostbyname_r'
>> libmysql.c:1325: warning: assignment makes pointer from integer without
>> a cast

The above happens because configure, because of some unknown reason,
didn't detect the right gethostbyname argument syntax for your setup.

Your config.h should look as follows:

#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1

/* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
/* #undef HAVE_GETHOSTBYNAME_R_RETURN_INT */

There is two ways to proceed:

- Check in config.log for why the detection of gethostbyname_r fails,
try to correct configure.in and send us a patch for future MySQL
releases.
- Edit config.h with an editor and fix the above rows.
(In your case you have probably a comment around the first #define)


Regards,
Monty

--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Michael Widenius
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO
/_/ /_/\_, /___/\___\_\___/ Helsinki, Finland
<___/ www.mysql.com








------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail bugs-thread12790@lists.mysql.com
To unsubscribe, e-mail