cvs access

2001-06-15 Thread Gustavo Vieira Goncalves Coelho Rios

Hi folks!

I would like to know if it's possible that some have read access to MySQL cvs 
repository? If yes, how may i have read acces (like an anonymous account).

Other question:

Which CVS TAGS MySQL uses for production environment? STABLE , CURRENT? (FreeBSD 
Project uses STABLE for production boxes).

Thanks a lot for your time and cooperation.


-- 
For I perceive that behind this seemingly unrelated sequence
of events, there lurks a singular, sinister attitude of mind.

Whose?

MINE! HA-HA!

-
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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql is hanging my connections

2001-03-13 Thread Gustavo Vieira Goncalves Coelho Rios

Dear gentleman,

I am running mysql over FreeBSD and when i issue a "show logs" query to
mysql, my connection is droped (cause the process is killed).

Take a closer look:

mysql show logs;
ERROR 2013: Lost connection to MySQL server during query
mysql select user();
ERROR 2006: MySQL server has gone away
No connection. Trying to reconnect...
Connection id:1
Current database: mysql

++
| user() |
++
| root@localhost |
++
1 row in set (0.03 sec)

mysql 

I realized (using top) that my mysql daemon died and another instance of
the process began execution. These are what i got from etosha.log:

/usr/local/libexec/mysqld: pronto para conexoes
mysqld got signal 11;
The manual section 'Debugging a MySQL server' tells you how to use a
stack trace and/or the core file to produce a readable backtrace that
may
help in finding out why mysqld died
010313 17:56:05  mysqld restarted
/usr/local/libexec/mysqld: pronto para conexoes


My some tell me if 3.23.33-log is a stable version of mysql?
Have anyone else faced such errors ? What is the reason?

Thanks a lot for your time and cooperation.

-
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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Embedded MySQL: Opinion Please

2001-02-15 Thread Gustavo Vieira Goncalves Coelho Rios

Benjamin Pflugmann wrote:

  Or, should I drop Linux and go with Windows CE, or some other RTOS?
 
 Well, I am biased there, but I would really avoid Windows. ;-)
 
 Other RTOS are probably a good idea, as someone else already said.
 
  Or, should I stop being a software developing and become a sheepherder?

A RTOS? I would go for QNX, better yet: Neutrino (this is a really weird
RTOS)



 No comment. ;-)
 
 Bye,
 
 Benjamin.
 
 -
 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 [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




C program warnning (Just a test i try to understand C in order to build my mysql client program)

2001-02-14 Thread Gustavo Vieira Goncalves Coelho Rios

Hi folks,

I am trying to compile a simple program to play with mysql. But i am
running into single problems, but i guess easy to solve by too many of
the wizards here.

I am too paranoic when compiling my programs, so i activate all warnning
(at least i try) flags to gnu c compiler.

The problem occurs when type conversion: type conversion is automatic
when a functions takes a single pointer to const anything, but when
there is a double pointer to a const type and i pass double pointer to a
non const type i run into problem? Why in the later case conversion is
not automatic? the former is. 

Here is the simple code (just to test):

#include stdio.h

int
t(const int *i)
{
printf("%d\n", *i);
return 0;
}

void
c(const char **reg)
{
while (*reg)
printf("%s\n", *reg++);
}

int
main(int argc, char *argv[])
{
int i;
char*reg[] = {
    "Gustavo",
    "Vieira",
    "Goncalves",
"Coelho", "Rios", NULL};

i = 10;

(void) t(i);
c(reg);

return 0;
}


But when compiling:

grios@etosha$ cc -ansi -pedantic -Wconversion -Wall -Werror t.c
cc1: warnings being treated as errors
t.c: In function `main':
t.c:30: warning: passing arg 1 of `c' from incompatible pointer type
grios@etosha$ 

Why there is no problem when i pass a int * to as an argument to a
function that requires a const int * but when the argument is a double
pointer to a const it complains if i pass a double pointer to a non
const type. This warnnings always happen even if the argument
requirement is of type
const [int|float|double|any_thing] ** and the value passed is
[int|float|double|any_thing] **. Why automatic conversion does not take
place here too ?

Thanks a lot for your time and cooperation.

-
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 [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php