"Matt Eaton" <[EMAIL PROTECTED]> wrote:
Try to profile application from that point ...
> if (mysql_real_query(&dbase,sqlBuff,strlen(sqlBuff))) {
> printf("Pool Attributes Select Failed... dumbass\n");
> fprintf(stderr, "Error: %s\n",
> mysql_error(&dbase));
> exit(1);
> }
>
> result = mysql_store_result(&dbase);
> numRows=mysql_num_rows(result);
... to that point and then from here to ..
> for (i=0;i<numRows;i++) {
> row = mysql_fetch_row(result);
> tempq=atoi(row[1]);
> tempP=atoi(row[0]);
> genAttrib[tempP][tempq]=atoi(row[2]);
> }
..here. I suppose the cycle could be a slowdown/
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]