Today, a very disgusting thing happened. It is extremely disgusting to the Pb database system.

Source: Internet
Author: User

Well, I created a database using PB's automatic ASA, but the name of the table should not be "user". As a result, when embedded SQL is used in Pb, It is a syntax error, syntax error. syntax error ..... after a night of hard work, I was overwhelmed by my self-confidence .....

The result is of course a bug. As of now, tables created using user and count cannot be accessed normally. It is assumed that they are similar to reserved words, but no evidence is found at present, I am talking about Embedded SQL, so it also reminds me how important it is to maintain a good program design style. Why should I add a t before the user, if it is t_user, there is no software error!

This shows that many of the currently well-known software products in the industry have many bugs, and there are also many natural Pb bugs, for example, if the variables and operators are too close, unexpected things may occur. :) more bugs will be discovered by readers. Discovering bugs is also a wonderful process.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.