Note that there are some explanatory texts on larger screens.

plurals
  1. USDavid O'Riva
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. CO@omatai I would say it's more realistic than pessimistic. If your crashing function is truly trivial, just reading the value of a variable and returning it for example, then you can certainly get away with a recovery-type action (if you know why it failed). With anything more complex you would need to properly understand the code the compiler has generated for your function and everything it calls. If you've lost sync with an object's reference count, or have loops that do things with referenced objects, you really could have trashed just about anything including your allocators.
      singulars
    2. CO@user966379 - I was referring to the constructor or assignment operator for `i` alone, not `A`. Since `i` is of type `int`, the constructor or assignment operator for an `int` are used when initializing that particular member of your class, whether your entire class is ready yet or not.
      singulars
    3. COReplication sounds a lot scarier than it is. Basically, they're doing exactly what you're proposing, but they've figured out and handled all (or at least most) of the edge and failure cases. You add about 10 incantations to mysql.ini on each side, tune up your schemas, make sure the firewalls are open, and it should start working and repair itself automatically after most failures. There are details for securing it and whatnot, but you'll have to deal with those no matter how your system ends up working.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload